diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/AvatarHistory/src/AvatarHistory.cpp | 1 | ||||
-rw-r--r-- | plugins/AvatarHistory/src/popup.cpp | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index 747f697cde..672d1d1ac7 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -341,6 +341,7 @@ int CMPlugin::Load() int CMPlugin::Unload()
{
+ DeInitPopups();
WindowList_Destroy(hAvatarWindowsList);
return 0;
}
diff --git a/plugins/AvatarHistory/src/popup.cpp b/plugins/AvatarHistory/src/popup.cpp index 5639e96032..069b661ded 100644 --- a/plugins/AvatarHistory/src/popup.cpp +++ b/plugins/AvatarHistory/src/popup.cpp @@ -50,7 +50,10 @@ void InitPopups() // Deinitializations needed by popups
void DeInitPopups()
-{}
+{
+ if (hPopupWindow)
+ DestroyWindow(hPopupWindow);
+}
// Show an error popup
|