We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9972e5b commit 4c92217Copy full SHA for 4c92217
modules/apis/parse-state.lua
@@ -16,10 +16,6 @@ local parse_state_API = {}
16
function parse_state_API:yield(...)
17
local co = coroutine.running()
18
local is_browser = co == g.state.co
19
- if self.source == "browser" and not is_browser then
20
- msg.error("current coroutine does not match browser's expected coroutine - did you unsafely yield before this?")
21
- error("current coroutine does not match browser's expected coroutine - aborting the parse")
22
- end
23
24
local result = table.pack(coroutine.yield(...))
25
if is_browser and co ~= g.state.co then
0 commit comments