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

timers breaking when running second parser #1

Open
KwilLuke opened this issue Aug 18, 2023 · 0 comments
Open

timers breaking when running second parser #1

KwilLuke opened this issue Aug 18, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@KwilLuke
Copy link
Contributor

If a second parser class is instantiated, the JavaScript's built in time functions (e.g. Date.now()) seem to stop working, which causes the TTL cache to not work as intended.

Based on the error that is being thrown, it looks like it is something with the wasm_exec.js file being instantiated twice. To fix this bug, it may require some refactoring so that the wasm_exec.js file is only instantiated once, regardless of how many parser classes are created.

@KwilLuke KwilLuke added the bug Something isn't working label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant