Jorge Romero

Results 5 comments of Jorge Romero

Let me try that out. The issue is made explicit due to Deno's test sanitizer, if I understand correctly. So in a normal script the program ends with no visible...

Here's an update. Running `destroy` after `run` does not fix the error. But unbinding the function before `run` does free the resources. Unbinding the function results in the `unsafeCallback` being...

Maybe the problem is that `#callbacks` is a Map. And `Object.keys()` is not behaving as expected?

Here is what I tried: First change `destroy()` to ``` destroy() { for (const callback of this.#callbacks) { this.unbind(callback[0]); // just get the string name of the callback. } lib.symbols.webview_terminate(this.#handle);...

I'll look into this one 😅😅😅