webmcp

diff framework/bin/mcp.lua @ 208:2c2bcde0df79

Pre/postfork initializers and finalizers via coroutines
author jbe
date Sat Jan 10 00:11:52 2015 +0100 (2015-01-10)
parents 77c4774e8342
children 2cb27106aa73
line diff
     1.1 --- a/framework/bin/mcp.lua	Fri Jan 09 22:53:07 2015 +0100
     1.2 +++ b/framework/bin/mcp.lua	Sat Jan 10 00:11:52 2015 +0100
     1.3 @@ -209,7 +209,7 @@
     1.4            request.handler(req)
     1.5          end
     1.6        )
     1.7 -      --listener.finish = ???  -- TODO: requires coroutines and execute.inner() for initializers?
     1.8 +      listener.finish = execute.finalizers
     1.9        moonbridge_listen(listener)
    1.10      end
    1.11    end

Impressum / About Us