diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-24 05:21:30 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-11-24 05:21:30 +0100 |
commit | 07e187d4d8ccbe31130db7b77d1bce217b33809a (patch) | |
tree | ee2aafe7669031b39591b437529e77c8d1313a2d /src | |
parent | Initialize client lazily (diff) | |
download | nheko-07e187d4d8ccbe31130db7b77d1bce217b33809a.tar.xz |
Fix crash in SingleApplication when other end exits immediately
In those cases the emit might cause the server to remove the connection and we are working with a dangling pointer. We can't call putChar on that, so acknowledge the message immediately and then emit the message.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions