summaryrefslogtreecommitdiffstats
path: root/src/winrtrunner
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-06-24 13:34:49 +0300
committerAndrew Knight <andrew.knight@digia.com>2014-06-26 07:26:24 +0200
commitbb8c4fe137fa5e94f6a7ff35fd7f5db5ec7d65aa (patch)
tree9a5e3722ae5ca81e405bd5c57f045b67fc0eaccb /src/winrtrunner
parentc1933d44810c8f20fc651f5b5c08568da708f8e8 (diff)
winrtrunner: Prevent crash when closing run engine
Close the package factory before calling CoUnitialize(), as it may crash the application otherwise. Task-number: QTBUG-39833 Change-Id: I16108852dd259d981950dff6877ea83f8a471072 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
Diffstat (limited to 'src/winrtrunner')
-rw-r--r--src/winrtrunner/appxengine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/winrtrunner/appxengine_p.h b/src/winrtrunner/appxengine_p.h
index c2e4ad524..2c344d834 100644
--- a/src/winrtrunner/appxengine_p.h
+++ b/src/winrtrunner/appxengine_p.h
@@ -68,6 +68,7 @@ public:
virtual ~AppxEnginePrivate()
{
+ packageFactory.Reset();
CoUninitialize();
}