[evolution/wip/webkit2] EShell not finalized on exit
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EShell not finalized on exit
- Date: Wed, 2 Mar 2016 16:59:13 +0000 (UTC)
commit fe7add0b14f273c1a78ff460d237e0f7ed111249
Author: Milan Crha <mcrha redhat com>
Date: Fri Nov 13 18:16:29 2015 +0100
EShell not finalized on exit
Add a workaround for bug #737949, which changes the previous mute of
the runtime warning when the shell was not finalized.
shell/main.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/shell/main.c b/shell/main.c
index ba3c42d..a603996 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -655,14 +655,16 @@ main (gint argc,
gtk_main ();
exit:
+ /* Workaround https://bugzilla.gnome.org/show_bug.cgi?id=737949 */
+ g_signal_emit_by_name (shell, "shutdown");
+
/* Drop what should be the last reference to the shell.
* That will cause e_shell_get_default() to henceforth
* return NULL. Use that to check for reference leaks. */
g_object_unref (shell);
if (e_shell_get_default () != NULL) {
- /* Mute the warning, due to https://bugzilla.gnome.org/show_bug.cgi?id=737949
- g_warning ("Shell not finalized on exit"); */
+ g_warning ("Shell not finalized on exit");
/* To not run in the safe mode the next start */
if (e_file_lock_get_pid () == getpid ())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]