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:
Max Kellermann
2013-04-08 23:14:07 +02:00
parent dca1115196
commit 98cbc0ea79
8 changed files with 17 additions and 27 deletions

View File

@@ -116,9 +116,8 @@ StateFile::CheckModified()
ScheduleSeconds(2 * 60);
}
bool
void
StateFile::OnTimeout()
{
Write();
return false;
}