Skip to content

Commit

Permalink
Avoid multiple sigint call
Browse files Browse the repository at this point in the history
  • Loading branch information
javalikescript committed Dec 30, 2024
1 parent 4ec48ad commit 9847da8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/launcher.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ if hasLuv then
luvLib.ref(signal)
luvLib.signal_start(signal, 'sigint', function()
luvLib.unref(signal)
signal:stop()
engine:stop()
end)
end
Expand Down

0 comments on commit 9847da8

Please sign in to comment.