mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user