Skip to content

Commit

Permalink
Check on timer member is zero.
Browse files Browse the repository at this point in the history
  • Loading branch information
dragotin committed Jan 7, 2014
1 parent 2464416 commit 7da84db
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/mirall/networkjobs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,11 @@ void AbstractNetworkJob::setTimeout(qint64 msec)

void AbstractNetworkJob::resetTimeout()
{
qint64 interval = _timer->interval();
_timer->stop();
_timer->start(interval);
if( _timer ) {
qint64 interval = _timer->interval();
_timer->stop();
_timer->start(interval);
}
}

void AbstractNetworkJob::setIgnoreCredentialFailure(bool ignore)
Expand Down

2 comments on commit 7da84db

@workdowg
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering when this will be incorporated into the binary download. I'm totally unable to use the client on two machines because of the segmentation fault, core dump.

@dragotin
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it will be in 1.5.1 coming end of january.

Please sign in to comment.