mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
skynet.blockcall concurrent bugfix
This commit is contained in:
@@ -364,9 +364,7 @@ skynet_command(struct skynet_context * context, const char * cmd , const char *
|
||||
if (context->init == false) {
|
||||
return NULL;
|
||||
}
|
||||
int session = strtol(param, NULL, 10);
|
||||
assert(session);
|
||||
skynet_mq_lock(context->queue, session);
|
||||
skynet_mq_lock(context->queue, context->session_id+1);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user