webmcp
view framework/env/execute/finalizers.lua @ 436:1dbbe4c62f08
Methods :create_object() and :create_list() ignore any additional table argument; "_class" attribute is always set; "_col" proxy respects foreign keys
| author | jbe |
|---|---|
| date | Wed Jan 20 20:43:23 2016 +0100 (2016-01-20) |
| parents | 1fcdd5c6f498 |
| children |
line source
1 --[[--
2 execute.finalizers()
4 Executes that code in initializers which is placed after execute.inner(). This function is automatically called when a forked process terminates. It may be called in interactive mode to perform a clean shutdown.
6 --]]--
8 function execute.finalizers()
9 for i = #execute._finalizers, 1, -1 do
10 execute._finalizers[i]()
11 execute._finalizers[i] = nil
12 end
13 end
