qtd3dservice: Fix bad handle close at shutdown upstream/5.2.90+alpha
authorAndrew Knight <andrew.knight@digia.com>
Thu, 13 Mar 2014 16:11:21 +0000 (18:11 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 13 Mar 2014 17:00:01 +0000 (18:00 +0100)
commit2c9f0207a7e001c13281015f047fca667e4b7e14
treea2129ffb6f1af0e3137d47c7d392623a42ab581a
parent3d662e5f577ab472deaac4ec8e8fd76627646f67
qtd3dservice: Fix bad handle close at shutdown

The control handle event is closed by the service class destructor, and
the worker thread handles are closed by their destructors. So, only
directly close the emulator/phone handles at shutdown.

Change-Id: I03ce660100826f350f742be6e8f6ae1403c6da05
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
src/qtd3dservice/d3dservice.cpp