diff options
author | MÃ¥rten Nordheim <marten.nordheim@qt.io> | 2020-05-05 14:27:57 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-05-18 11:59:40 +0000 |
commit | 34010e649734fe7a41d1a0280c606b15de5c2799 (patch) | |
tree | 8703a7d4b0803963c6cccb9434884cc7e4985763 /src/websockets/doc/src/external-resources.qdoc | |
parent | 432176cc8f377046e2216ade3fb4c43d27ec8938 (diff) | |
download | qtwebsockets-34010e649734fe7a41d1a0280c606b15de5c2799.tar.gz |
Make sure child QObjects get moved-to-thread along with the owner
By parenting them. And to do that without crashing they need to be
allocated dynamically.
A couple missed "parenting"s caused the object to not be moved to the
other thread when the websocket was moved. This caused it to print
warnings when the timer was started and stopped since this cannot be
done across threads.
Fixes: QTBUG-83722
Change-Id: Iee60fe1c498f8f6d1e0c2cfcb2923bd5b9560acb
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>
(cherry picked from commit 393fcf8a64748f0c59f47d254667518dba9e2fc3)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/websockets/doc/src/external-resources.qdoc')
0 files changed, 0 insertions, 0 deletions