made output param cache thread safe

Multiple threads could be accessing these values at any given time, they'll
need to be thread safe.
This commit is contained in:
itsmattkc
2019-11-17 17:11:40 +09:00
parent 833d1f7d94
commit 2752a0a005
2 changed files with 24 additions and 2 deletions
+2
View File
@@ -51,6 +51,8 @@ public:
private:
QHash<TimeRange, QVariant> cached_values_;
QMutex cache_lock_;
};
#endif // NODEOUTPUT_H