Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Remove listener when the window is destroyed#3215

Merged
Alexays merged 1 commit intoAlexays:masterfrom
eyusupov:fix-dwl-window-crash
May 6, 2024
Merged

Remove listener when the window is destroyed#3215
Alexays merged 1 commit intoAlexays:masterfrom
eyusupov:fix-dwl-window-crash

Conversation

@eyusupov
Copy link
Contributor

@eyusupov eyusupov commented May 6, 2024

The module was crashing when the output has been deactivated through wlr-randr --output DP-1 --off , for example. The module object was destroyed, but the listener was still called, resulting in a NPE.

@Alexays Alexays merged commit df1a9c5 into Alexays:master May 6, 2024
@Alexays
Copy link
Owner

Alexays commented May 6, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants