event/TimeoutMonitor: eliminate support for periodic events
No caller needs this. Fixes use-after-free after returning from Client::OnTimeout().
This commit is contained in:
@@ -116,9 +116,8 @@ StateFile::CheckModified()
|
||||
ScheduleSeconds(2 * 60);
|
||||
}
|
||||
|
||||
bool
|
||||
void
|
||||
StateFile::OnTimeout()
|
||||
{
|
||||
Write();
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user