diff options
| author | ame <[email protected]> | 2025-11-14 02:42:56 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2025-11-14 02:42:56 -0600 |
| commit | c8fdd204a963ea228cf1a718f7fc9587399e6748 (patch) | |
| tree | 9ad67f54bfffa876b6bceda2395674393986dce8 /src/thread.c | |
| parent | a0e9b343216b2062134b86521a74286e10703015 (diff) | |
luaI_deepcopy strip_gc
Diffstat (limited to 'src/thread.c')
| -rw-r--r-- | src/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index 9b9ddb2..50b55cf 100644 --- a/src/thread.c +++ b/src/thread.c @@ -532,7 +532,7 @@ int l_buffer(lua_State* L){ buffer->lock = malloc(sizeof * buffer->lock);
if(pthread_mutex_init(&*buffer->lock, NULL) != 0) p_fatal("pthread_mutex_init failed");
lua_pushvalue(L, 1);
- luaI_deepcopy(L, buffer->L, SKIP_LOCALS);
+ luaI_deepcopy(L, buffer->L, SKIP_LOCALS | STRIP_GC);
lua_newtable(L);
int meta_idx = lua_gettop(L);
|
