diff options
| author | Alex Trotsenko <[email protected]> | 2020-06-05 13:35:16 +0300 |
|---|---|---|
| committer | Alex Trotsenko <[email protected]> | 2020-06-19 19:48:50 +0300 |
| commit | 7aa327648c2f2744e381582a98813a545b4f1cb1 (patch) | |
| tree | 541997084eacff2d1d7206982f139bf8ce01b01c /src/network/socket/qnativesocketengine_unix.cpp | |
| parent | 10f8ebe3e2075a02d910f2d02cc0e81abe727c2f (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
