mirror of
https://github.com/love2d/love.git
synced 2026-08-20 04:30:09 +02:00
Fix regression due to thread backends commit
This commit is contained in:
@@ -204,7 +204,9 @@ namespace thread
|
|||||||
return luaL_error(L, "Expected boolean, number, string or userdata");
|
return luaL_error(L, "Expected boolean, number, string or userdata");
|
||||||
}
|
}
|
||||||
t->set(name, v);
|
t->set(name, v);
|
||||||
|
t->lock();
|
||||||
v->release();
|
v->release();
|
||||||
|
t->unlock();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user