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

Gtk error at exit #174

Open
sigmaSd opened this issue Sep 8, 2024 · 0 comments
Open

Gtk error at exit #174

sigmaSd opened this issue Sep 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sigmaSd
Copy link
Contributor

sigmaSd commented Sep 8, 2024

import { Webview } from "jsr:@webview/webview";

const html = `
  <html>
  <body>
    <h1>Hello from deno v${Deno.version.deno}</h1>
  </body>
  </html>
`;

const webview = new Webview();

webview.navigate(`data:text/html,${encodeURIComponent(html)}`);
webview.run();

deno run -A a.ts

(deno:32997): Gtk-CRITICAL **: 00:43:14.284: gtk_main_quit: assertion 'main_loops != NULL' failed
fish: Job 1, 'deno -A a.ts' terminated by signal SIGSEGV (Address boundary error)
gtk3-3.24.43-1.fc40.x86_64
gtk4-4.14.4-2.fc40.x86_64

The error seems to be a warning, but some times it casues issues, specially when invoking a worker it seems it make it not exit or segfault

The current workaround it to use Deno.exit(0)

@eliassjogreen eliassjogreen added the bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants