#3011: Listen to WM_ENDSESSION on Windows
------------------------------+--------------------
  Reporter:  joeyvh           |      Owner:
      Type:  feature-request  |     Status:  new
  Priority:  minor            |  Milestone:  1.3.16
 Component:  GTK UI           |    Version:  1.3.14
Resolution:                   |   Keywords:
------------------------------+--------------------

Comment (by Cas):

 Have you done any testing of your proposed changes? It's been a while
 since I touched this code so can't remember exactly where I was but
 testing was a challenge. I only use Windows on virtualbox VMs which makes
 it a bit easier for actual OS restarts.

 I think it is possible to block shutdown entirely if Deluge doesn't return
 True at some point.

 Also you only really need to do this shutdown blocking in
 classic/standalone mode and there is a section of unneeded duplicate code
 from what I can see. In thinclient mode the daemon would get it own
 shutdown message from the OS and deal with it as it does currently.

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3011#comment:9>
Deluge <http://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to