From 72cebe239ed92b15ecfc19260783b0a390649619 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 24 Sep 2013 11:49:10 +0200 Subject: Fix application hang at shutdown --- src/lanes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lanes.c b/src/lanes.c index e36a073..7eef2d0 100644 --- a/src/lanes.c +++ b/src/lanes.c @@ -52,7 +52,7 @@ * ... */ -char const* VERSION = "3.6.3"; +char const* VERSION = "3.6.4"; /* =============================================================================== @@ -961,8 +961,8 @@ static void linda_id( lua_State*L, char const * const which) if( K && K->L) // can be NULL if this happens during main state shutdown (lanes is GC'ed -> no keepers -> no need to cleanup) { keeper_call( K->L, KEEPER_API( clear), L, l, 0); - keeper_release( K); } + keeper_release( K); /* There aren't any lanes waiting on these lindas, since all proxies * have been gc'ed. Right? -- cgit v1.2.3-55-g6feb