aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-11-24 05:30:41 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-11-24 09:01:39 +0100
commit3650975e566d13483869d1213e434a1ce609335b (patch)
tree1549614660c337f9ba979326379d12c39c85aeb6 /singleapplication.cpp
parentMerge pull request #140 from itay-grudev/itay-grudev-patch-1 (diff)
downloadsingleapplication-3650975e566d13483869d1213e434a1ce609335b.tar.xz
Fix crash when sending ack on removed connection
The emit might interrupt our function and causes us to return to the event loop. In that time frame the other and might close the connection, causing our connection to be removed. In that case we call writeAck on a dangling pointer, in the best case causing a crash. So lets finish our business before emitting our signal. fixes #138
Diffstat (limited to 'singleapplication.cpp')
0 files changed, 0 insertions, 0 deletions