diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-11 09:30:16 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-20 23:44:58 +0800 |
| commit | f7c182585b32e4fbfae7cf26e91eb193216828ec (patch) | |
| tree | 71993018509d92024387c65680efefcc0b18aa5e /src/session.hpp | |
| parent | 53c075e2927c33355c6a108a102726f585d24119 (diff) | |
signal(session,sessionManager): atexit handler
sometimes have malloc: Heap corruption detected :/
Diffstat (limited to 'src/session.hpp')
| -rw-r--r-- | src/session.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session.hpp b/src/session.hpp index d32fd96..6f1382c 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -42,5 +42,6 @@ class CSession { void onErrno(eEventType); void onRecv(const SRecvData &data); void onSend(const std::string &msg); + void onShutdown(); friend class CSessionManager; }; |
