QWindowsPipeWriter could terminate the process to early
authorMartin Petersson <Martin.Petersson@nokia.com>
Mon, 27 Feb 2012 14:41:10 +0000 (15:41 +0100)
committerQt by Nokia <qt-info@nokia.com>
Tue, 28 Feb 2012 10:00:56 +0000 (11:00 +0100)
commit0f3d46b43f344abd8e158166c0e391ef404f2e2d
tree97de42d558088fa739b28e108618b855b8824763
parentf323f01648a33a22ba2b0f4975efe19a1af1b9b5
QWindowsPipeWriter could terminate the process to early

When the QWindowsPipeWriter is deleted it will wait
for the thread to exit. This wait was set to 100 ms
which will not always be enough time for the thread
to exit, in that case the thread will be terminated.
This will increase the timeout to 30 seconds that
should be more then enough time for the thread to exit
by itself.

Task-number: QTBUG-4425
Change-Id: I52567066b757c2bbfda6887f504cf80de262b988
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
src/corelib/io/qwindowspipewriter.cpp