Nicotine+ version: 2.1.0dev1-d16417c
Operating System/Distribution: Windows 10 2004 Education
Describe the bug
When searching a very common phrase like "test" and then closing the tab to stop searching, it still tries to get results for "test" and it doesn't stop when reconnecting to Soulseek, restart the program and even research the term and click on "ignore" according to the "Messages" debug output.
This means the downloads could be hang to "Getting address" or something else when downloading and probably uploading nothing.
Expected behavior
After closing the tab, it should stop searching and displaying results even in the debug log.
Steps to reproduce the bug
- Enable "Messages" at debug output.
- Go to search files
- Search for the term "test"
- Close the tab
- The FileSearchResult messages keeps spamming the debut output and you can download/upload nothing
- Restart the program.
- After connecting to Soulseek, the FileSearchResult messages continue with results for "test"
- It does stop after a while, but it may outputs FileSearchResult messages with results for "test" occasionally.
Additional context
In settings, i have a max search results and stored results of 10000 which may prolong this issue.