summaryrefslogtreecommitdiff
path: root/src/websockets/qsslserver.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Nordheim <marten.nordheim@qt.io>2020-05-05 14:27:57 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-05-18 11:59:40 +0000
commit34010e649734fe7a41d1a0280c606b15de5c2799 (patch)
tree8703a7d4b0803963c6cccb9434884cc7e4985763 /src/websockets/qsslserver.cpp
parent432176cc8f377046e2216ade3fb4c43d27ec8938 (diff)
downloadqtwebsockets-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/qsslserver.cpp')
0 files changed, 0 insertions, 0 deletions