[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25875: 26.0.50; Hang logging out of MS-Windows

From: Ken Brown
Subject: bug#25875: 26.0.50; Hang logging out of MS-Windows
Date: Mon, 27 Feb 2017 14:39:17 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

On 2/27/2017 2:30 PM, Richard Copley wrote:
If you want to block or delay a shutdown in recent
Windows versions you need to use
ShutdownBlockReasonCreate (it's unfortunate, but
we lazy programmers proved we couldn't be trusted,
collectively, to handle WM_QUERY_ENDSESSION
correctly, so the arms race had to be escalated in
order to allow users to shut down their computers

In spite of the careless mistake in my patch, you could still test Eli's suggestion of using SendMessageTimeout instead of SendMessage, at least in my_show_window.

Ken, what was the original change intended to guard
against? What would people be doing with Emacs that
can't simply be abandoned? Did you have a particular
example in mind?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]