#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 DjLegolas):
As I wrote in the [https://github.com/deluge-torrent/deluge/pull/155 pull
request], I wrote a handler for this in [https://github.com/deluge-
torrent/deluge/commit/ef6ca969413a0e7c30edc278638384be1e312429 my fork].
On `WM_QUERYENDSESSION` message, Deluge will register itself as a
Shutdown-Blocker.
Next, when receiving `WM_ENDSESSION` message, Deluge should have 30
seconds to save all the data - depending on whether critical shutdown or
not.
But the lack of a proper tool for testing this makes me feel like the is
something wrong with my work.
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3011#comment:8>
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.