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

Image.fromEncodedBytes gets recycled before callback #135

Open
mundusnine opened this issue Sep 22, 2019 · 0 comments
Open

Image.fromEncodedBytes gets recycled before callback #135

mundusnine opened this issue Sep 22, 2019 · 0 comments

Comments

@mundusnine
Copy link

mundusnine commented Sep 22, 2019

This issue as been observed in this.

The issue does not appear when using Kore/kinc. When testing was done with Krom in debug mode(built with vscode2019) it was observed that the data seemed to be recycled or was junked by the Js engine before returning the data to haxe/js.

Tested making the data readable but this did not solve the issue as it's probably an issue with the js engine.

The issue is not only present in Krom, it also happens in Kromx, so maybe not the js engine's fault.

I have no idea where to look for now and a temporary solution was implemented in haxeui-kha. It is not ideal and so for long-term considerations we should fix this in Krom.

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

1 participant