register launcher name at skynet_start

This commit is contained in:
云风
2013-07-02 10:48:22 +08:00
parent 40c77e7739
commit 52a4ef8d13
3 changed files with 7 additions and 8 deletions

View File

@@ -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);
}