diff --git a/gtk/main.c b/gtk/main.c index 484d430ee..87c7d5d84 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -546,10 +546,9 @@ exitcheck(gpointer gdata) { struct exitdata *data = gdata; /* keep going if we still have torrents and haven't hit the exit timeout */ - if( time( NULL ) - data->started < TRACKER_EXIT_TIMEOUT && - ( !tr_backend_torrents_stopped( data->cbdata->back ) || - TR_NAT_TRAVERSAL_DISABLED != natstat ) ) { - updatemodel( data->cbdata ); + if(time(NULL) - data->started < TRACKER_EXIT_TIMEOUT && + !tr_backend_torrents_stopped(data->cbdata->back)) { + updatemodel(data->cbdata); return TRUE; }