mirror of
https://github.com/caozhiyi/CppNet.git
synced 2026-01-19 00:05:14 +08:00
fix thread destory coredump.
This commit is contained in:
@@ -30,6 +30,10 @@ void CppNet::Init(int32_t thread_num) {
|
||||
}
|
||||
}
|
||||
|
||||
void CppNet::Destory() {
|
||||
_cppnet_base->Dealloc();
|
||||
}
|
||||
|
||||
void CppNet::Join() {
|
||||
_cppnet_base->Join();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user