Comment 2 for bug 1828593

Revision history for this message
eMTee (realprogger) wrote :

Committed a fix that is trying to disconnect all users on shutdown and save the download queue after that.

Btw. there are a couple, maybe even more other things to check above the queue on OS shutdown :

#1 when the FileMover thread is active and moving a (large) file from one drive to another - in this case, the whole file will be lost queue wise; the file will remain in temp target but the queue item has already been finished and removed in this phase so... (advanced users can revive the file with the rechecker but we know it's not a widely known feature).

#2 hashing in progress - I haven't investigated this yet but when interrupted with app termination, probably the whole hashing session's index data gain will be lost, maybe even all the hashindexes added during the whole DC++ session - to be investigated.