Commit 836228c9de45e439b58754a4e39fb5eb065b696e
1 parent
61421173
热更新 bug
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/agent.lua
| @@ -313,6 +313,9 @@ skynet.start(function() | @@ -313,6 +313,9 @@ skynet.start(function() | ||
| 313 | elseif command == "start" then | 313 | elseif command == "start" then |
| 314 | skynet.ignoreret() | 314 | skynet.ignoreret() |
| 315 | f(session, source, ...) | 315 | f(session, source, ...) |
| 316 | + elseif command == "hotfix" then | ||
| 317 | + skynet.ignoreret() | ||
| 318 | + f(...) | ||
| 316 | else | 319 | else |
| 317 | skynet.ret(skynet.pack(f(...))) | 320 | skynet.ret(skynet.pack(f(...))) |
| 318 | end | 321 | end |