mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Apply suggestions from code review
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
5b6f9be18c
commit
3a7010dc7f
2 changed files with 3 additions and 3 deletions
|
@ -218,7 +218,7 @@ local function test_async_job_replacement(cb)
|
|||
end
|
||||
local job = core.handle_async(function()
|
||||
end, function()
|
||||
return cb("Canceled async job run")
|
||||
return cb("Canceled async job ran")
|
||||
end)
|
||||
if not job:cancel() then
|
||||
return cb("AsyncJob:cancel sanity check failed")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Minetest
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later/
|
||||
// Luanti
|
||||
// SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
#include "lua_api/l_internal.h"
|
||||
#include "lua_api/l_async.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue