diff options
| -rw-r--r-- | src/thread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread.c b/src/thread.c index add1287..617d63f 100644 --- a/src/thread.c +++ b/src/thread.c @@ -163,6 +163,7 @@ int l_res(lua_State* L){ lua_settop(L, ot);
}
+ info->done = 1;
pthread_mutex_unlock(&*info->lock);
pthread_exit(NULL);
|
