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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qfunctions_win.cpp b/src/corelib/kernel/qfunctions_win.cpp
index d5ce3e5894..048fdbc934 100644
--- a/src/corelib/kernel/qfunctions_win.cpp
+++ b/src/corelib/kernel/qfunctions_win.cpp
@@ -28,6 +28,7 @@ QComHelper::QComHelper(COINIT concurrencyModel)
QComHelper::~QComHelper()
{
+ Q_ASSERT(m_threadId == GetCurrentThreadId());
if (SUCCEEDED(m_initResult))
CoUninitialize();
}