aboutsummaryrefslogtreecommitdiff
path: root/src/lanes.c
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2012-11-21 21:06:19 +0100
committerBenoit Germain <bnt.germain@gmail.com>2012-11-21 21:06:19 +0100
commitf154e1f1b6cea07163f364986fb11ccfcb87c3ad (patch)
tree530495592fb8cf6300f5270626ced31a43c6313d /src/lanes.c
parent8c73ca05a8a6583844f7da90f3d8d1b2663a86a5 (diff)
downloadlanes-3.4.0.tar.gz
lanes-3.4.0.tar.bz2
lanes-3.4.0.zip
fix application shutdown crash by not registering anything with atexit()v3.4.0
Diffstat (limited to 'src/lanes.c')
-rw-r--r--src/lanes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lanes.c b/src/lanes.c
index 092e282..e0374cc 100644
--- a/src/lanes.c
+++ b/src/lanes.c
@@ -1317,6 +1317,9 @@ static int selfdestruct_gc( lua_State *L)
1317 DEBUGEXEC(fprintf( stderr, "Killed %d lane(s) at process end.\n", n )); 1317 DEBUGEXEC(fprintf( stderr, "Killed %d lane(s) at process end.\n", n ));
1318#endif 1318#endif
1319 } 1319 }
1320#if !HAVE_KEEPER_ATEXIT_DESINIT
1321 close_keepers();
1322#endif // !HAVE_KEEPER_ATEXIT_DESINIT
1320 return 0; 1323 return 0;
1321} 1324}
1322 1325