Infinite loop in DL Queue on "Remove source" > "All"

Bug #190955 reported by poy
0
Affects Status Importance Assigned to Milestone
DC++
Fix Released
Undecided
Unassigned

Bug Description

in the Download Queue, when right-clicking on a download and selecting "All" under the "Remove source" menu, DC++ goes into an infinite loop (the for loop in QueueFrame::handleRemoveSource).

happenned with the current revision (1003) as well as with the released DC++ 0.704.

after a bit of investigation, i found that QueueManager::removeSource which is called in the for loop doesn't remove the source(s); it returns at line 1079 of QueueManager.cpp because the given target can't be found in fileQueue.

note; selecting a user in the "Remove source" menu does remove the user fine, which shows that the function actually works fine. i can't figure out why it fails in the for loop...

Changed in dcplusplus:
status: New → Fix Committed
MikeJJ (mrmikejj)
Changed in dcplusplus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.