summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qfunctions_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qfunctions_win.cpp')
-rw-r--r--src/corelib/kernel/qfunctions_win.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/kernel/qfunctions_win.cpp b/src/corelib/kernel/qfunctions_win.cpp
index ed0e25467c..048fdbc934 100644
--- a/src/corelib/kernel/qfunctions_win.cpp
+++ b/src/corelib/kernel/qfunctions_win.cpp
@@ -28,11 +28,13 @@ QComHelper::QComHelper(COINIT concurrencyModel)
QComHelper::~QComHelper()
{
+ Q_ASSERT(m_threadId == GetCurrentThreadId());
if (SUCCEEDED(m_initResult))
CoUninitialize();
}
/*!
+ \internal
Checks if the application has a \e{package identity}
Having a \e{package identity} is required to use many modern