diff options
| author | Oliver Wolff <oliver.wolff@theqtcompany.com> | 2016-10-13 13:59:44 +0200 |
|---|---|---|
| committer | Oliver Wolff <oliver.wolff@qt.io> | 2016-10-20 07:02:10 +0000 |
| commit | 0e61323c87490ea3991f7b6211034285ce5a932f (patch) | |
| tree | bcb2ed53a6c079f6832cc3d34485cd307fb99d17 /src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp | |
| parent | 2c0033983bc53e906eab3f4b2fae836ff8472713 (diff) | |
winrt: Added timeout for cancellation of socket read operation
As the function runs on the XAML thread it can make the app
unresponsive/wait forever on a socket close. Thus we should not wait
forever but have a timeout. If the timeout is hit the socket is not
closed properly but hard reset.
Change-Id: I82e9425c0f8195e3465027fdc2417a93f1c1ad91
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/qtablewidget-resizing/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
