← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1828593] Re: Download is lost when Windows restarts

 

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.

** Changed in: dcplusplus
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1828593

Title:
  Download is lost when Windows restarts

Status in DC++:
  Fix Committed

Bug description:
  When Windows restarts or shuts down and DC++ hasn't been closed
  previously, when Windows starts up again and DC++ starts, whatever
  download progress is lost and it has to start from the beginning. What
  I'm saying is if DC++ receives a WM_CLOSE message, it remembers the
  progress of a download and exits, but if DC++ receives a WM_DESTROY
  message it forgets the download progress, exits and when DC++ starts
  up again, that entire download has to start from the beginning again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1828593/+subscriptions



References