diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-24 05:30:41 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-24 09:01:39 +0100 |
commit | 3650975e566d13483869d1213e434a1ce609335b (patch) | |
tree | 1549614660c337f9ba979326379d12c39c85aeb6 /CMakeLists.txt | |
parent | Merge pull request #140 from itay-grudev/itay-grudev-patch-1 (diff) | |
download | singleapplication-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 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions