mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-07-05 01:17:51 -05:00
qt: ensure worker cancellation is complete before clearing
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include <QRunnable>
|
||||
#include <QString>
|
||||
|
||||
#include "common/thread.h"
|
||||
#include "yuzu/compatibility_list.h"
|
||||
#include "yuzu/play_time_manager.h"
|
||||
|
||||
@ -82,7 +83,9 @@ private:
|
||||
const PlayTime::PlayTimeManager& play_time_manager;
|
||||
|
||||
QStringList watch_list;
|
||||
std::atomic_bool stop_processing;
|
||||
|
||||
Common::Event processing_completed;
|
||||
std::atomic_bool stop_requested = false;
|
||||
|
||||
Core::System& system;
|
||||
};
|
||||
|
Reference in New Issue
Block a user