From de404cce440e2ab5677ed0ef0405d11c61ae9639 Mon Sep 17 00:00:00 2001 From: Alexander Schwinn Date: Tue, 1 Jan 2019 23:17:31 +0100 Subject: [PATCH] Still 8sec delay on logout when there is an open thunar window (Bug #15008) --- thunar/thunar-application.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thunar/thunar-application.c b/thunar/thunar-application.c index c5ea2868..78f62ed3 100644 --- a/thunar/thunar-application.c +++ b/thunar/thunar-application.c @@ -1104,6 +1104,10 @@ thunar_application_quit (ThunarApplication *application) _thunar_return_if_fail (THUNAR_IS_APPLICATION (application)); thunar_application_set_daemon(application, FALSE); + + /* for some weird shutdown is not called by gtk */ + /* ( looks like g_application_hold is done by the session_client which prevents shutdown )*/ + thunar_application_shutdown(application); gtk_main_quit (); } -- 2.11.0