1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

(trunk, gtk) #5450: in transmission-gtk's main.c::on_app_exit(), check to see if shutdown's already been initiated so that we don't call tr_sessionClose() twice.

This commit is contained in:
Jordan Lee 2013-08-05 02:39:30 +00:00
parent d1b406131b
commit 229f9e5ae6

View file

@ -944,6 +944,9 @@ on_app_exit (gpointer vdata)
struct cbdata * cbdata = vdata;
struct session_close_struct * session_close_data;
if (cbdata->is_closing)
return;
cbdata->is_closing = true;
/* stop the update timer */