mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
Revert a change that was made on the wrong branch.
This commit is contained in:
parent
c5614964a3
commit
bec163be16
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue