CoreWLan: terminate scan thread in QCoreWlanEngine destructor
authorDyami Caliri <dyami@dragonframe.com>
Fri, 22 Aug 2014 15:35:29 +0000 (08:35 -0700)
committerDyami Caliri <dyami@dragonframe.com>
Wed, 27 Aug 2014 15:14:25 +0000 (17:14 +0200)
commit1d7408cc8b1a62966ab311e2fb2e6007b1a357fc
treeaea0eec75ae798139b144e1305435fb3ef930d45
parent4dc751360a605f010fd5031e95302bed3317d5e6
CoreWLan: terminate scan thread in QCoreWlanEngine destructor

The scan thread can take an indeterminate amount of time, often longer
than the 5 seconds we had previously waited. Since this destructor is
only called when the application quits, it's ok that some resources may
be lost.

Task-number: QTBUG-36000
Change-Id: Ib184156b5a23c39ea4f7937a26ecb099554bd4de
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
src/plugins/bearer/corewlan/qcorewlanengine.mm
src/plugins/bearer/corewlan/qcorewlanengine_10_6.mm