mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
Fix a stupid mistake that could cause the fastresume data to not be saved on exit.
This commit is contained in:
parent
0ad7773480
commit
3f9a55b194
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ exitcheck(gpointer gdata) {
|
|||
/* keep going if we haven't hit the exit timeout and
|
||||
we either have torrents left or nat traversal is stopping */
|
||||
if( time( NULL ) - data->started < TRACKER_EXIT_TIMEOUT &&
|
||||
( !tr_backend_torrents_stopped( data->cbdata->back ) &&
|
||||
( !tr_backend_torrents_stopped( data->cbdata->back ) ||
|
||||
TR_NAT_TRAVERSAL_DISABLED != natstat ) ) {
|
||||
updatemodel(data->cbdata);
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue