From 7c7d63ea700885d9115a3302d5ed98cc6dadd6fd Mon Sep 17 00:00:00 2001 From: Cloud Wu Date: Thu, 5 Feb 2015 18:16:26 +0800 Subject: [PATCH] return nil to caller of newservice, while calling skynet.exit in start function --- service/launcher.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/launcher.lua b/service/launcher.lua index bfe96fbd..f4ac16fe 100644 --- a/service/launcher.lua +++ b/service/launcher.lua @@ -58,7 +58,7 @@ function command.REMOVE(_, handle) local response = instance[handle] if response then -- instance is dead - response(false) + response(true) -- return nil to caller of newservice instance[handle] = nil end