From 80b2ea646a60a9a2cd15e872885f0f656bc539ab Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 20 May 2008 02:24:42 +0000 Subject: [PATCH] fixed a delayed unload crash in sdktools --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402155 --- extensions/sdktools/extension.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/sdktools/extension.cpp b/extensions/sdktools/extension.cpp index abc8bdf3..1e34ab7e 100644 --- a/extensions/sdktools/extension.cpp +++ b/extensions/sdktools/extension.cpp @@ -166,6 +166,7 @@ void SDKTools::SDK_OnUnload() gameconfs->CloseGameConfigFile(g_pGameConf); playerhelpers->RemoveClientListener(&g_SdkTools); playerhelpers->UnregisterCommandTargetProcessor(this); + plsys->RemovePluginsListener(&g_OutputManager); SH_REMOVE_HOOK_MEMFUNC(IServerGameDLL, LevelInit, gamedll, this, &SDKTools::LevelInit, true);