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

Cancelling record or capture aborts #3

Closed
nabijaczleweli opened this issue Dec 2, 2020 · 2 comments
Closed

Cancelling record or capture aborts #3

nabijaczleweli opened this issue Dec 2, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nabijaczleweli
Copy link

nabijaczleweli commented Dec 2, 2020

Describe the bug

[2020-12-02T15:58:54 WARN menyoki::x11::display] User interrupt detected.
thread 'main' panicked at 'Failed to get the window', src/app.rs:169:34
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Aborted (core dumped, if enabled)

To Reproduce
menyoki capture then Esc

Expected behavior
Not doing that; something to the effect of let window = self.window?; instead or the equivalent where it's assigned, probably.

System Information

  • OS: buster and sid
  • Rust Version: rustc 1.48.0 (7eac88abb 2020-11-16)
  • Project Version: e2f596b
@nabijaczleweli nabijaczleweli added the bug Something isn't working label Dec 2, 2020
@orhun
Copy link
Owner

orhun commented Dec 2, 2020

Please check if 09ef590 fixes this.
Also I'm open if you want to suggest anything about refactoring the code etc.

@nabijaczleweli
Copy link
Author

Yep, that works

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

2 participants