mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 19:43:09 +00:00
bugfix: message queue support multi parm
This commit is contained in:
@@ -12,7 +12,7 @@ skynet.register_protocol {
|
||||
pack = skynet.pack,
|
||||
unpack = skynet.unpack,
|
||||
dispatch = function(session, from, ...)
|
||||
table.insert(message_queue, {..., session = session, addr = from})
|
||||
table.insert(message_queue, {session = session, addr = from, ... })
|
||||
if thread_id then
|
||||
skynet.wakeup(thread_id)
|
||||
thread_id = nil
|
||||
|
||||
Reference in New Issue
Block a user