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:
parent
d1b406131b
commit
229f9e5ae6
1 changed files with 3 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue