fix cleanup of QWinIoCompletionPort
authorJoerg Bornemann <joerg.bornemann@digia.com>
Thu, 1 Nov 2012 13:57:27 +0000 (14:57 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 2 Nov 2012 17:07:35 +0000 (18:07 +0100)
commit40c9a3ef11ba8b513633dce3d0cf352efdf2352e
tree5b208f908b0540674439807dd93ab776fc220f4e
parent76dfe82addb4e4954246d5ba9dc693315f0cdb6a
fix cleanup of QWinIoCompletionPort

The QWinIoCompletionPort thread was never properly cleaned up.
Maintain a reference count for QWinIoCompletionPort and create/destroy
it on demand.

Change-Id: I607b574484554dd3ad107dfb43b0a248bcf8b7a4
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/corelib/io/qwinoverlappedionotifier.cpp
src/corelib/io/qwinoverlappedionotifier_p.h