summaryrefslogtreecommitdiff
path: root/src/Instance.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r--src/Instance.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx
index 2d8003f42..cf25ca201 100644
--- a/src/Instance.cxx
+++ b/src/Instance.cxx
@@ -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();
+}