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

Usage with systray-rs #179

Open
lucasfernog opened this issue May 8, 2020 · 0 comments
Open

Usage with systray-rs #179

lucasfernog opened this issue May 8, 2020 · 0 comments

Comments

@lucasfernog
Copy link

When I try to use web-view with the systray-rs library, I get an Aborted (core dumped) error. Do you know if that's something related to GTK not supporting two instances running at the same time?

Sample code:

let app = systray::Application::new()?;
loop {
  match webview.step() {
     Some(Ok(_)) => (),
     Some(e) => e?,
     None => return Ok(()),
  }
}

If I remove the app assignment, the webview works fine. If I leave it (even if i'm not using the systray, just creating a new instance), the app crashes on webview.step(), with the core dump error.

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