mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
bugfix: log
This commit is contained in:
@@ -360,10 +360,11 @@ handle_exit(struct skynet_context * context, uint32_t handle) {
|
||||
if (handle == 0) {
|
||||
handle = context->handle;
|
||||
skynet_error(context, "KILL self");
|
||||
} else {
|
||||
skynet_error(context, "KILL :%0x", handle);
|
||||
}
|
||||
if (G_NODE.monitor_exit) {
|
||||
skynet_send(context, handle, G_NODE.monitor_exit, PTYPE_CLIENT, 0, NULL, 0);
|
||||
skynet_error(context, "KILL :%0x", handle);
|
||||
}
|
||||
skynet_handle_retire(handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user