diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-06-05 06:06:21 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-06-05 06:06:21 +0000 |
commit | c8282e792539673d070b197d20e5e61c9dbe0b1d (patch) | |
tree | a612f3ef8d466123667af649e74521b0188d0932 /iax/dllmain.cpp | |
parent | e81e7feec300383661beaebf757366d02f094062 (diff) |
destroy call window earlier so no db writes are done in unload (possible crash)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@201 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'iax/dllmain.cpp')
-rw-r--r-- | iax/dllmain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iax/dllmain.cpp b/iax/dllmain.cpp index f62a507..957d779 100644 --- a/iax/dllmain.cpp +++ b/iax/dllmain.cpp @@ -84,6 +84,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) { int PreShutdown(WPARAM wParam, LPARAM lParam) {
DeinitIAXInterface();
+ DeinitMenu();
return 0;
}
@@ -138,7 +139,6 @@ extern "C" __declspec (dllexport) int __cdecl Load(PLUGINLINK *link) { extern "C" __declspec (dllexport) int __cdecl Unload(void) {
DeinitOptions();
DeinitServices();
- DeinitMenu();
DeinitIcons();
return 0;
}
|