libs/lucid: revert main state on startup to prevent accumulation.

A proper SIGTERM handling needs support in nixio first.
This commit is contained in:
Malte S. Stretz 2009-08-13 13:43:20 +00:00
parent b48418f314
commit 8f580be880

View file

@ -43,6 +43,8 @@ local SSTATE = "/tmp/.lucid_store"
--- Starts a new LuCId superprocess.
function start()
state:revert(UCINAME, "main")
prepare()
local detach = cursor:get(UCINAME, "main", "daemonize")