ffmpegdecoder/memorymanager: fixed race condition in garbage collection

This commit is contained in:
itsmattkc
2020-02-21 23:15:09 +11:00
parent b0c9711974
commit 547990b920
4 changed files with 14 additions and 24 deletions
-5
View File
@@ -64,9 +64,6 @@ public:
virtual void Index(const QAtomicInt *cancelled) override;
signals:
void ConsumedMemory();
private:
/**
* @brief Handle an error
@@ -129,8 +126,6 @@ private:
QTimer clear_timer_;
QAtomicInt allow_clear_event_;
private slots:
void FreeMemory();