renderer: copy cache path before render to avoid race conditions

This commit is contained in:
itsmattkc
2020-09-05 18:48:54 +10:00
parent 1334c04235
commit cabcd49b25
7 changed files with 28 additions and 15 deletions
+2 -2
View File
@@ -67,6 +67,8 @@ public:
return !invalidated_.isEmpty();
}
QString GetCacheDirectory() const;
signals:
void Invalidated(const OLIVE_NAMESPACE::TimeRange& r);
@@ -87,8 +89,6 @@ protected:
Project* GetProject() const;
QString GetCacheDirectory() const;
struct JobIdentifier {
TimeRange range;
qint64 job_time;