WMF: Fixed shutdown sequence.
authorYoann Lopes <yoann.lopes@digia.com>
Thu, 6 Dec 2012 14:42:47 +0000 (15:42 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Dec 2012 12:04:12 +0000 (13:04 +0100)
commitad835347361c16b662f73680cbaa0444c1ec4064
tree0e83f60215e743b8c47bbb420091d9aee3a19f7f
parent31fdbb1c22a06fc41f3df10e5959c66f59634986
WMF: Fixed shutdown sequence.

A wrong shutdown sequence was causing a wait condition to never be met,
resulting in a 5 seconds hang on shutdown.
Also reduced the wait condition timeout to 100 ms.

Task-number: QTBUG-28432

Change-Id: Ib415bf66634603d839be3e34e497e3a3c5a19ad9
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Jason Barron <jason@cutehacks.com>
src/plugins/wmf/player/mfplayerservice.cpp
src/plugins/wmf/player/mfplayersession.cpp
src/plugins/wmf/wmfserviceplugin.cpp