summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@qt.io>2016-05-13 08:40:39 +0200
committerMaurice Kalinowski <maurice.kalinowski@qt.io>2016-05-17 09:58:42 +0000
commit8714c99f65381af194cc4991c4258fec4b9a6307 (patch)
tree8aa67f138f23442b22a5c80880fb052e2fb5762f /config.tests
parent6e928460bc92d7d67a5b95790225142a65de32fa (diff)
winrt: Fix potential crash when reading closed sockets
Using multiple concurrent requests can cause a delay between a socket closing and getting deleted. At that point the state was closingDown, but not wasDeleted yet. Especially on slower arm devices, callbacks are done from another thread causing synchronization issues. Hence closingDown needs to be synced and handleReadyRead needs to have more criterias to return early to avoid invalid access crashes. Easiest to reproduce is heavy scrolling on the mapviewer example when it downloads a huge amount of tiles and cancels those requests when not in view anymore. Change-Id: I442b6243bbefb3af938b6b1b3739a6a85b4887c0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'config.tests')
0 files changed, 0 insertions, 0 deletions