aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/addrbook/msoutlook/com/ComClient.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/native/addrbook/msoutlook/com/ComClient.cxx')
-rw-r--r--src/native/addrbook/msoutlook/com/ComClient.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/native/addrbook/msoutlook/com/ComClient.cxx b/src/native/addrbook/msoutlook/com/ComClient.cxx
index 4c3dfcf..af29b3c 100644
--- a/src/native/addrbook/msoutlook/com/ComClient.cxx
+++ b/src/native/addrbook/msoutlook/com/ComClient.cxx
@@ -94,6 +94,7 @@ void ComClient_stop(void)
if(ComClient_classFactory)
{
+ ComClient_classFactory->revokeClassObject();
ComClient_classFactory->Release();
ComClient_classFactory = NULL;
}
@@ -102,6 +103,8 @@ void ComClient_stop(void)
TypeLib_releaseTypeLib(ComClient_typeLib);
ComClient_typeLib = NULL;
}
+
+ CoUninitialize();
}
/**