mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
register launcher name at skynet_start
This commit is contained in:
@@ -130,6 +130,7 @@ skynet_start(struct skynet_config * config) {
|
||||
}
|
||||
ctx = skynet_context_new("snlua", "launcher");
|
||||
if (ctx) {
|
||||
skynet_command(ctx, "REG", ".launcher");
|
||||
ctx = skynet_context_new("snlua", config->start);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user