]> git.eshelyaron.com Git - emacs.git/commitdiff
Prevent hang when exiting Emacs on Haiku
authorPo Lu <luangruo@yahoo.com>
Sat, 11 Dec 2021 10:07:48 +0000 (10:07 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 11 Dec 2021 10:09:03 +0000 (10:09 +0000)
* src/haiku_support.cc (be_app_quit): Don't wait for app
thread to also quit.

src/haiku_support.cc

index d6d7967524c060952e83d0a187c151388947ef5f..b8f6e84d2c3d35475dcca1d7573c9339e8ea6a2b 100644 (file)
@@ -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);
     }
 }