Ipc destructor closes socket and thus wakes up SleeperThread which was waiting for socket data in Ipc::handleEvent. Ipc::handleEvent then proceeds with sending signal to already destroyed object, causing heap-use-after-free Address Sanitizer error. |
||
|---|---|---|
| .. | ||
| client.hpp | ||
| ipc.hpp | ||