aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4object_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-09-20 10:04:21 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-09-20 11:49:37 +0000
commit1ccd4d6900fae3b4a7dac11c69fafea17692b02d (patch)
tree5e1ebd26b68ada5dd5be56749108fbcb2e2c5b38 /src/qml/jsruntime/qv4object_p.h
parentf4e96bf319b14bc64d9c92551303991b4f303846 (diff)
QPacketProtocol: Remove aboutToClose() method
It doesn't serve any useful purpose. The cleanup is done on destruction anyway, and re-opening the underlying device after it was closed isn't supported. Furthermore, clearing the sendingPackets leads to a crash when the device sends another bytesWritten() signal after aboutToClose(). That can happen, for example with local sockets on windows, when flushing the remaining data. Fixes: QTBUG-70638 Change-Id: Icd636efc9794a127a3869a1c3e999d2286593067 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
0 files changed, 0 insertions, 0 deletions