You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find it tricky to cleanly destroy a lua state if there are active requests, because loop_gc try to cancel active requests which will callback into lua again, but some userdata already been gc-ed, and cause a lot of headache.
What's your opinion on this?
The text was updated successfully, but these errors were encountered:
yihuang
changed the title
I find it tricky to cleanly destroy a lua state if there are pending requests.
I find it tricky to cleanly destroy a lua state if there are active requests.
Jul 27, 2017
I find it tricky to cleanly destroy a lua state if there are active requests, because
loop_gc
try to cancel active requests which will callback into lua again, but some userdata already been gc-ed, and cause a lot of headache.What's your opinion on this?
The text was updated successfully, but these errors were encountered: