summaryrefslogtreecommitdiffstats
path: root/src/network/socket/qnativesocketengine_unix.cpp
diff options
context:
space:
mode:
authorAlex Trotsenko <[email protected]>2020-06-05 13:35:16 +0300
committerAlex Trotsenko <[email protected]>2020-06-19 19:48:50 +0300
commit7aa327648c2f2744e381582a98813a545b4f1cb1 (patch)
tree541997084eacff2d1d7206982f139bf8ce01b01c /src/network/socket/qnativesocketengine_unix.cpp
parent10f8ebe3e2075a02d910f2d02cc0e81abe727c2f (diff)
QProcess/Win: Avoid reentering the code in _q_processDied()
In case drainOutputPipes() makes a recursion, setting 'dying' to true should protect the code from reentering. But, the next call to QProcessPrivate::cleanup() resets this variable, which allows a secondary pass. So, we should postpone setting 'dying' to false until a new process session is started. Fixes: QTBUG-33731 Change-Id: I269ad3b8defa32aa714ea13f8803a07259f475dc Reviewed-by: Oswald Buddenhagen <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
Diffstat (limited to 'src/network/socket/qnativesocketengine_unix.cpp')
0 files changed, 0 insertions, 0 deletions