summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-05 06:06:21 +0000
committersje <sje@4f64403b-2f21-0410-a795-97e2b3489a10>2007-06-05 06:06:21 +0000
commitc8282e792539673d070b197d20e5e61c9dbe0b1d (patch)
treea612f3ef8d466123667af649e74521b0188d0932
parente81e7feec300383661beaebf757366d02f094062 (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
-rw-r--r--iax/dllmain.cpp2
-rw-r--r--iax/private.h2
2 files changed, 2 insertions, 2 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;
}
diff --git a/iax/private.h b/iax/private.h
index f5e97b7..ca5f285 100644
--- a/iax/private.h
+++ b/iax/private.h
@@ -5,7 +5,7 @@
#define VER_MAJOR 0
#define VER_MINOR 1
#define VER_RELEASE 0
-#define VER_BUILD 4
+#define VER_BUILD 5
#define __STRINGIZE(x) #x
#define VER_STRING __STRINGIZE( VER_MAJOR.VER_MINOR.VER_RELEASE.VER_BUILD )