From c8282e792539673d070b197d20e5e61c9dbe0b1d Mon Sep 17 00:00:00 2001 From: sje Date: Tue, 5 Jun 2007 06:06:21 +0000 Subject: 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 --- iax/dllmain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iax/dllmain.cpp') 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; } -- cgit v1.2.3