mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Throw an error on SIGINT
This commit is contained in:
parent
110377a3db
commit
289d95e8da
1 changed files with 0 additions and 4 deletions
|
@ -237,10 +237,6 @@ std::string runCode(lua_State* L, const std::string& source)
|
|||
lua_pcall(T, n, 0, 0);
|
||||
}
|
||||
}
|
||||
else if (status == LUA_SIGINT)
|
||||
{
|
||||
fputs("\nExecution interrupted\n", stdout);
|
||||
}
|
||||
else
|
||||
{
|
||||
std::string error;
|
||||
|
|
Loading…
Add table
Reference in a new issue