diff options
| author | Benoit Germain <bnt.germain@gmail.com> | 2013-09-24 11:49:10 +0200 |
|---|---|---|
| committer | Benoit Germain <bnt.germain@gmail.com> | 2013-09-24 11:49:10 +0200 |
| commit | 72cebe239ed92b15ecfc19260783b0a390649619 (patch) | |
| tree | 49492ea772f9d514411367327db2b6cfdfa5497d /src | |
| parent | 7f7b29063d2f19a8bc2b229ae9b0ec82ce447cab (diff) | |
| download | lanes-72cebe239ed92b15ecfc19260783b0a390649619.tar.gz lanes-72cebe239ed92b15ecfc19260783b0a390649619.tar.bz2 lanes-72cebe239ed92b15ecfc19260783b0a390649619.zip | |
Fix application hang at shutdown
Diffstat (limited to 'src')
| -rw-r--r-- | src/lanes.c | 4 |
1 files 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 @@ | |||
| 52 | * ... | 52 | * ... |
| 53 | */ | 53 | */ |
| 54 | 54 | ||
| 55 | char const* VERSION = "3.6.3"; | 55 | char const* VERSION = "3.6.4"; |
| 56 | 56 | ||
| 57 | /* | 57 | /* |
| 58 | =============================================================================== | 58 | =============================================================================== |
| @@ -961,8 +961,8 @@ static void linda_id( lua_State*L, char const * const which) | |||
| 961 | if( K && K->L) // can be NULL if this happens during main state shutdown (lanes is GC'ed -> no keepers -> no need to cleanup) | 961 | if( K && K->L) // can be NULL if this happens during main state shutdown (lanes is GC'ed -> no keepers -> no need to cleanup) |
| 962 | { | 962 | { |
| 963 | keeper_call( K->L, KEEPER_API( clear), L, l, 0); | 963 | keeper_call( K->L, KEEPER_API( clear), L, l, 0); |
| 964 | keeper_release( K); | ||
| 965 | } | 964 | } |
| 965 | keeper_release( K); | ||
| 966 | 966 | ||
| 967 | /* There aren't any lanes waiting on these lindas, since all proxies | 967 | /* There aren't any lanes waiting on these lindas, since all proxies |
| 968 | * have been gc'ed. Right? | 968 | * have been gc'ed. Right? |
