emacs-diffs
[Top][All Lists]
Advanced

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

master 607dee1: Prevent hang when exiting Emacs on Haiku


From: Po Lu
Subject: master 607dee1: Prevent hang when exiting Emacs on Haiku
Date: Sat, 11 Dec 2021 05:10:15 -0500 (EST)

branch: master
commit 607dee1a7192d77546bb30561296b46e35d67019
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Prevent hang when exiting Emacs on Haiku
    
    * src/haiku_support.cc (be_app_quit): Don't wait for app
    thread to also quit.
---
 src/haiku_support.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/haiku_support.cc b/src/haiku_support.cc
index d6d7967..b8f6e84 100644
--- a/src/haiku_support.cc
+++ b/src/haiku_support.cc
@@ -2663,10 +2663,8 @@ be_app_quit (void)
 {
   if (be_app)
     {
-      status_t e;
       while (!be_app->Lock ());
       be_app->Quit ();
-      wait_for_thread (app_thread, &e);
     }
 }
 



reply via email to

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