diff options
author | Andrew Knight <andrew.knight@digia.com> | 2014-06-05 12:44:01 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-05 11:45:17 +0200 |
commit | aab9bdca7710b4a1908f2528d90600a4826a8a7d (patch) | |
tree | 51981ff3ae9afe6bc14f6638e54562c563dbb3e4 | |
parent | 3cc82656121c4bae8f96e16e0b364116d58f45ff (diff) | |
download | qttools-aab9bdca7710b4a1908f2528d90600a4826a8a7d.tar.gz |
CoreCon: mark destructor as virtual
This was causing COM to not get uninitialized and resulted in
winrtrunner hanging.
Change-Id: Ie3e409a43f2cb41f28ef6975d81c68996554861f
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
-rw-r--r-- | src/shared/corecon/corecon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/corecon/corecon.cpp b/src/shared/corecon/corecon.cpp index 7220ac393..b6d6f4aed 100644 --- a/src/shared/corecon/corecon.cpp +++ b/src/shared/corecon/corecon.cpp @@ -155,7 +155,7 @@ protected: if (FAILED(hr)) qCDebug(lcCoreCon) << "Failed to initialize COM."; } - ~ComInitializer() + virtual ~ComInitializer() { if (SUCCEEDED(hr)) CoUninitialize(); |