mirror of https://github.com/PCSX2/pcsx2.git
GS/TextureReplacements: Fix queued items not getting purged after shutdown
This commit is contained in:
parent
38c48e8b6a
commit
d329cabf07
|
@ -674,9 +674,6 @@ void GSTextureReplacements::SyncWorkerThread()
|
|||
void GSTextureReplacements::CancelPendingLoadsAndDumps()
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(s_worker_thread_mutex);
|
||||
if (!s_worker_thread.joinable())
|
||||
return;
|
||||
|
||||
while (!s_worker_thread_queue.empty())
|
||||
s_worker_thread_queue.pop();
|
||||
s_async_loaded_textures.clear();
|
||||
|
|
Loading…
Reference in New Issue