Skip to content

Commit

Permalink
fix possible crash with xdg-popup race (WayfireWM#2445)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkondor committed Dec 6, 2024
1 parent 7b44ec6 commit 24824d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/view/xdg-shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ void wayfire_xdg_popup::destroy()
on_new_popup.disconnect();
on_ping_timeout.disconnect();
on_reposition.disconnect();
popup->base->data = nullptr;
popup = nullptr;
}

Expand Down

0 comments on commit 24824d9

Please sign in to comment.