Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
0fbf4421
Commit
0fbf4421
authored
Jul 14, 2015
by
Johny Mattsson
Browse files
Do not allow execution to continue after a PANIC!
It really does not improve things...
parent
33e41a63
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/lua/lauxlib.c
View file @
0fbf4421
...
...
@@ -816,6 +816,7 @@ static int panic (lua_State *L) {
luai_writestringerror
(
"PANIC: unprotected error in call to Lua API (%s)
\n
"
,
lua_tostring
(
L
,
-
1
));
#endif
while
(
1
)
{}
return
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment