优化退出流程,统一注册到on_exit(

This commit is contained in:
2025-09-29 16:07:11 +08:00
parent afe70e6d17
commit 8c52e4ba84
9 changed files with 163 additions and 41 deletions

View File

@ -14,11 +14,11 @@ typedef struct pthread_module
atomic_int status;
}pth_m;
typedef struct args
typedef struct net_args
{
log_manager *log;
pth_m *pth;
}args;
}net_args;
typedef struct network_manager
{