Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Trac#3011 Handle WM_ENDSESSION on Windows to shutdown cleanly #155
This is not ready for merge however it is working code and will catch the wm_queryendsession messages. The next step is to handle this correctly so Deluge is given enough time to save data to disc as the default 5 secs is probably not enough.
See trac ticket for more details.
I wrote a handler in ef6ca96.
But the lack of a proper tool for testing this makes me feel like the is something wrong with my work.