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
|
@ -545,7 +545,7 @@ exitcheck(gpointer gdata) {
|
||||||
/* keep going if we haven't hit the exit timeout and
|
/* keep going if we haven't hit the exit timeout and
|
||||||
we either have torrents left or nat traversal is stopping */
|
we either have torrents left or nat traversal is stopping */
|
||||||
if( time( NULL ) - data->started < TRACKER_EXIT_TIMEOUT &&
|
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 ) ) {
|
TR_NAT_TRAVERSAL_DISABLED != natstat ) ) {
|
||||||
updatemodel(data->cbdata);
|
updatemodel(data->cbdata);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue