Instance: flush input cache on SIGHUP
This commit is contained in:
@@ -198,3 +198,10 @@ Instance::OnIdle(unsigned flags) noexcept
|
||||
for (auto &partition : partitions)
|
||||
partition.EmitIdle(flags);
|
||||
}
|
||||
|
||||
void
|
||||
Instance::FlushCaches() noexcept
|
||||
{
|
||||
if (input_cache)
|
||||
input_cache->Flush();
|
||||
}
|
||||
|
Reference in New Issue
Block a user