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

Garbagecollector #102

Open
emilsedemil opened this issue Feb 10, 2017 · 1 comment
Open

Garbagecollector #102

emilsedemil opened this issue Feb 10, 2017 · 1 comment

Comments

@emilsedemil
Copy link

It may be a feature, but then I would like to understand why it must behave like this.

If the garbage collector is stopped, a call of collectgarbage("collect") will be ignored. This deviates from the original lua and (although I have not analyzed much further) it does not make sense to me.

Could somebody comment on that?

Thanks in advance,
Emilio

@bogdanm
Copy link
Member

bogdanm commented Feb 25, 2017

Hi,

That's definitely not something in eLua itself. It might be something that we borrowed from an external patch (like the EGC patch). Feel free to issue a PR to fix that behaviour.

Thanks,
Bogdan

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