GS/TextureReplacements: Fix queued items not getting purged after shutdown

This commit is contained in:
Connor McLaughlin 2022-05-11 20:22:12 +10:00 committed by refractionpcsx2
parent 38c48e8b6a
commit d329cabf07
1 changed files with 0 additions and 3 deletions

View File

@ -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();