return message;
}
-} // namespace anon
+} // namespace
graphics::PreviewImage const *
{
if (!monitoring()) {
monitor_ = FileSystemWatcher::activeMonitor(filename_);
+ // Disconnected at the same time as this is destroyed.
monitor_->connect([this](bool /* exists */){ changed_(); });
}
}