moonbridge
diff moonbridge.c @ 288:524bb61496b5
Changed behavior of moonbridge_io.poll(...); Renamed moonbridge_io.sigterm_setup() to moonbridge_io.catch_sigterm(); Removed moonbridge_io.sigterm_received()
author | jbe |
---|---|
date | Sun Jun 11 03:50:28 2017 +0200 (2017-06-11) |
parents | 28aab22e68b6 |
children | cdf02d09202a |
line diff
1.1 --- a/moonbridge.c Sun Jun 11 01:27:52 2017 +0200 1.2 +++ b/moonbridge.c Sun Jun 11 03:50:28 2017 +0200 1.3 @@ -755,7 +755,7 @@ 1.4 char controlmsg; 1.5 int fd; 1.6 struct itimerval notimer = { { 0, }, { 0, } }; 1.7 - moonbr_io_sigterm_setup(L); // NOTE: should not fail 1.8 + moonbr_io_catch_sigterm(L); // NOTE: should not fail 1.9 lua_rawgetp(L, LUA_REGISTRYINDEX, moonbr_luakey_prepare_func(pool)); 1.10 if (lua_isnil(L, -1)) lua_pop(L, 1); 1.11 else if (lua_pcall(L, 0, 0, 1)) {