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

DragDropAction: Release hovered reference when finishing the action #1979

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

tintou
Copy link
Member

@tintou tintou commented Jul 10, 2024

Make sure that we are not holding a reference to the object after handling the dnd action.

Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should release handle reference too, but we should do this in cleanup since the drag may not succeed

…action

Make sure that we are not holding a reference to the objects after handling the
dnd action.
@tintou tintou force-pushed the tintou/hovered-release branch from 8960116 to 7e4442e Compare July 10, 2024 09:04
@tintou
Copy link
Member Author

tintou commented Jul 10, 2024

@lenemter indeed, applied your suggestion!

Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes the memory leak in multitasking view. Good job!

@lenemter lenemter merged commit 7818082 into master Jul 10, 2024
2 of 4 checks passed
@lenemter lenemter deleted the tintou/hovered-release branch July 10, 2024 09:55
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