diff options
author | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2016-01-08 12:50:32 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2016-01-11 10:06:36 +0000 |
commit | becbffe291c1105eb422e8dc66c67c5b6443b96c (patch) | |
tree | 0a1a7fc7839057ad5d4f824bb4f6a1b1be53b883 /src/plugins/printsupport/windows | |
parent | c4ecab7127807eddd820b5c747a805cf5b0fd06d (diff) |
winphone: Properly close the application
When shutting down an application on Windows Phone the SceneGraph tries
to create an offscreen surface to render into. If there is no offscreen
surface available, it creates a new native window and tries to hide it.
As the native event loop is about to shut down, creation fails and
exceptions are raised. Instead we create a vanilla
QPlatformOffscreenSurface. The SceneGraph recognizes it as such and can
handle a proper cleanup on its own.
Furthermore removing the suspend/resume handler in the destructor of
QWinRTIntegration fails for Windows Phone as the application object
itself does not accept this anymore. Hence skip this part for this
platform.
Task-number: QTBUG-49310
Change-Id: I02acdd5a635ef0b9d6ef8199376537b8f0f1a8fb
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'src/plugins/printsupport/windows')
0 files changed, 0 insertions, 0 deletions