summaryrefslogtreecommitdiffstats
path: root/src/activeqt/control/qaxserverdll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/activeqt/control/qaxserverdll.cpp')
-rw-r--r--src/activeqt/control/qaxserverdll.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/activeqt/control/qaxserverdll.cpp b/src/activeqt/control/qaxserverdll.cpp
index 7117cbb..b0584d5 100644
--- a/src/activeqt/control/qaxserverdll.cpp
+++ b/src/activeqt/control/qaxserverdll.cpp
@@ -45,6 +45,8 @@
#include <qt_windows.h>
+#include "qclassfactory_p.h"
+
QT_BEGIN_NAMESPACE
bool qax_ownQApp = false;
@@ -111,6 +113,7 @@ STDAPI DllCanUnloadNow()
if (qax_hhook)
UnhookWindowsHookEx(qax_hhook);
+ QClassFactory::cleanupCreatedApplication(*qApp);
delete qApp;
qax_ownQApp = false;