diff options
Diffstat (limited to 'util/async.lua')
-rw-r--r-- | util/async.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/async.lua b/util/async.lua index e8469e51..f042b177 100644 --- a/util/async.lua +++ b/util/async.lua @@ -231,7 +231,7 @@ do }; local function once_runner(func) func(); end function once(func) - local r = runner(func, once_watchers); + local r = runner(once_runner, once_watchers); return r:run(func); end end |