Skip to content
Snippets Groups Projects
Commit dfe79b9a authored by Maxim Kokryashkin's avatar Maxim Kokryashkin Committed by Igor Munkin
Browse files

lua: use cur_L in cord_on_yield

Before the patch, fiber->storage.lua.stack is used for
`panic` calls. However, some fibers don't have any Lua
state saved in their storage (for example, space
triggers).

After the patch, the Lua state pointed by `cur_L` is
used to make those calls, as it is always present.

Closes #6647
NO_DOC=bugfix
parent c8ef9176
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment