Commit aab9bdca authored by Andrew Knight's avatar Andrew Knight Committed by The Qt Project
Browse files

CoreCon: mark destructor as virtual


This was causing COM to not get uninitialized and resulted in
winrtrunner hanging.

Change-Id: Ie3e409a43f2cb41f28ef6975d81c68996554861f
Reviewed-by: default avatarOliver Wolff <oliver.wolff@digia.com>
parent 3cc82656
Branches
Tags
No related merge requests found
Showing with 1 addition and 1 deletion
...@@ -155,7 +155,7 @@ protected: ...@@ -155,7 +155,7 @@ protected:
if (FAILED(hr)) if (FAILED(hr))
qCDebug(lcCoreCon) << "Failed to initialize COM."; qCDebug(lcCoreCon) << "Failed to initialize COM.";
} }
~ComInitializer() virtual ~ComInitializer()
{ {
if (SUCCEEDED(hr)) if (SUCCEEDED(hr))
CoUninitialize(); CoUninitialize();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment