mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12: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) {
|
if (handle == 0) {
|
||||||
handle = context->handle;
|
handle = context->handle;
|
||||||
skynet_error(context, "KILL self");
|
skynet_error(context, "KILL self");
|
||||||
|
} else {
|
||||||
|
skynet_error(context, "KILL :%0x", handle);
|
||||||
}
|
}
|
||||||
if (G_NODE.monitor_exit) {
|
if (G_NODE.monitor_exit) {
|
||||||
skynet_send(context, handle, G_NODE.monitor_exit, PTYPE_CLIENT, 0, NULL, 0);
|
skynet_send(context, handle, G_NODE.monitor_exit, PTYPE_CLIENT, 0, NULL, 0);
|
||||||
skynet_error(context, "KILL :%0x", handle);
|
|
||||||
}
|
}
|
||||||
skynet_handle_retire(handle);
|
skynet_handle_retire(handle);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user