Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I find it tricky to cleanly destroy a lua state if there are active requests. #32

Open
yihuang opened this issue Jul 27, 2017 · 1 comment

Comments

@yihuang
Copy link

yihuang commented 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?

@yihuang 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
@richardhundt
Copy link
Owner

Hi, I don't have enough information to help you. Where does loop_gc come from? I've searched my code, libuv and zmq sources and I can't find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants