summaryrefslogtreecommitdiff
path: root/src/mir_core/subclass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_core/subclass.cpp')
-rw-r--r--src/mir_core/subclass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mir_core/subclass.cpp b/src/mir_core/subclass.cpp
index 4bf17e5de2..fe63f715eb 100644
--- a/src/mir_core/subclass.cpp
+++ b/src/mir_core/subclass.cpp
@@ -33,6 +33,11 @@ struct MSubclassData
static LIST<MSubclassData> arSubclass(10, LIST<MSubclassData>::FTSortFunc(HandleKeySortT));
+void UninitSubclassing()
+{
+ arSubclass.destroy();
+}
+
/////////////////////////////////////////////////////////////////////////////////////////
static LRESULT CALLBACK MSubclassWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)