Skip to content

Commit

Permalink
DragDropAction: Release hovered reference when finishing the action
Browse files Browse the repository at this point in the history
Make sure that we are not holding a reference to the object after handling the dnd
action.
  • Loading branch information
tintou committed Jul 10, 2024
1 parent 7bb7908 commit 8960116
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/DragDropAction.vala
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ namespace Gala {
} else if (dragging) {
if (hovered != null) {
finish ();
hovered = null;
} else {
cancel ();
}
Expand Down

0 comments on commit 8960116

Please sign in to comment.