From 6233a4777edce1b30af96035e31ae3df074b15cb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jun 2018 11:24:30 +0300 Subject: fixes #1443 (TabSRMM: crash after AVS unloading) --- plugins/AVS/src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/AVS/src/main.cpp b/plugins/AVS/src/main.cpp index 6fa9c01b15..0d2827a0cb 100644 --- a/plugins/AVS/src/main.cpp +++ b/plugins/AVS/src/main.cpp @@ -394,5 +394,6 @@ int CMPlugin::Unload() DestroyHookableEvent(hMyAvatarChanged); CloseHandle(hLoaderEvent); + UnregisterClassW(AVATAR_CONTROL_CLASS, 0); return 0; } -- cgit v1.2.3