From a5333f80d13852634499bc932b043230c5835240 Mon Sep 17 00:00:00 2001 From: nodchip Date: Mon, 27 Sep 2010 01:18:25 +0000 Subject: [PATCH] Gecko code: Fixed the thread-safe problem reported in r6227. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6230 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/GeckoCode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/GeckoCode.cpp b/Source/Core/Core/Src/GeckoCode.cpp index 85d8c65a17..e9d873cd2c 100644 --- a/Source/Core/Core/Src/GeckoCode.cpp +++ b/Source/Core/Core/Src/GeckoCode.cpp @@ -93,9 +93,9 @@ void SetActiveCodes(const std::vector& gcodes) active_codes.push_back(*gcodes_iter); } - active_codes_lock.Leave(); - inserted_asm_codes.clear(); + + active_codes_lock.Leave(); } bool RunGeckoCode(GeckoCode& gecko_code)