summaryrefslogtreecommitdiff
path: root/plugins/AVS
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-06-29 11:24:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-06-29 11:24:30 +0300
commit6233a4777edce1b30af96035e31ae3df074b15cb (patch)
tree8320b7560c17820fe82f8054f58524e87870974f /plugins/AVS
parentb76f376e2d9fcedb935438b2132502696c7effe4 (diff)
fixes #1443 (TabSRMM: crash after AVS unloading)
Diffstat (limited to 'plugins/AVS')
-rw-r--r--plugins/AVS/src/main.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}