From 7e199b0c7c6710dd6834f95759cac310a1eacfbe Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Fri, 8 Jun 2012 20:29:06 -0400 Subject: [PATCH] Fixed CStrike extension shutdown crash (bug 5328, r=psychonic). --- extensions/cstrike/RegNatives.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/cstrike/RegNatives.cpp b/extensions/cstrike/RegNatives.cpp index e663a186..64dcfa02 100644 --- a/extensions/cstrike/RegNatives.cpp +++ b/extensions/cstrike/RegNatives.cpp @@ -47,4 +47,6 @@ void RegNatives::UnregisterAll() { (*iter)->Destroy(); } + + m_List.clear(); }