diff options
author | Mataes <mataes2007@gmail.com> | 2020-04-11 15:47:21 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2020-04-11 15:47:21 +0300 |
commit | 467ebabf29c13a6f20ea5f7a1ec6d59c615e453c (patch) | |
tree | bccbf50beb763d4e4b0b87a6a852636f8eb9cfbb /plugins/NewStory/src/main.cpp | |
parent | 6938f9a6faf85e0d7ae81fc36174772d52caa47c (diff) |
Newstory: Unload 1st part, crash not fixed
Diffstat (limited to 'plugins/NewStory/src/main.cpp')
-rw-r--r-- | plugins/NewStory/src/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/NewStory/src/main.cpp b/plugins/NewStory/src/main.cpp index b5fb6a8591..085a613fb0 100644 --- a/plugins/NewStory/src/main.cpp +++ b/plugins/NewStory/src/main.cpp @@ -105,3 +105,11 @@ int CMPlugin::Load() HookEvent(ME_SYSTEM_MODULESLOADED, evtModulesLoaded); return 0; } + +int CMPlugin::Unload() +{ + UnregisterClass(_T(NEWSTORYLIST_CLASS), g_plugin.getInst()); + DestroyFonts(); + + return 0; +}
\ No newline at end of file |