emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master f8e36e0: ; * src/w32fns.c (w32_wnd_proc): Adjust co


From: Ken Brown
Subject: [Emacs-diffs] master f8e36e0: ; * src/w32fns.c (w32_wnd_proc): Adjust comment.
Date: Tue, 28 Feb 2017 11:59:41 -0500 (EST)

branch: master
commit f8e36e04c4a11912d9f996a1fbf2870cf822151f
Author: Ken Brown <address@hidden>
Commit: Ken Brown <address@hidden>

    ; * src/w32fns.c (w32_wnd_proc): Adjust comment.
---
 src/w32fns.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/w32fns.c b/src/w32fns.c
index 1b628b0..dd16d74 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -4801,7 +4801,11 @@ w32_wnd_proc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM 
lParam)
 
     case WM_ENDSESSION:
       my_post_msg (&wmsg, hwnd, msg, wParam, lParam);
-      /* If we return, the process will be terminated immediately.  */
+      /* Allow time for Emacs to attempt an orderly shutdown.  If we
+         return, the process will be terminated immediately.  FIXME:
+         1000 seconds is too long to sleep if the shutdown attempt
+         fails (see bug#25875).  But if it fails, we want to find out
+         about it, so let's leave 1000 for now.  */
       sleep (1000);
 
     case WM_WINDOWPOSCHANGING:



reply via email to

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