diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-03-29 08:03:53 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-03-29 08:03:53 +0000 |
commit | 75fe2bf35e4a37e59845d6ba0cc2f70352f56e5c (patch) | |
tree | ab476b506d274c9fa51af50d7a33c6c5c37660b9 /src/main.c | |
parent | 4c2aee3cf95ec99d367b9e003cf7ee0da42f1ccb (diff) |
fixes unable to exit sylpheed in some case.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1585 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -705,6 +705,8 @@ void app_will_exit(gboolean force) if (gtk_main_level() > 0) gtk_main_quit(); + + exit(0); } #if 0 @@ -1101,6 +1103,7 @@ static gboolean lock_socket_input_cb(GIOChannel *source, GIOCondition condition, g_free(status); if (folders) g_ptr_array_free(folders, TRUE); } else if (!strncmp(buf, "exit", 4)) { + fd_close(sock); app_will_exit(TRUE); } @@ -1153,7 +1156,6 @@ static void remote_command_exec(void) } if (cmd.exit) { app_will_exit(TRUE); - exit(0); } } |