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

WindowCloneContainer: Don't hold an extra reference to WindowClone #1975

Closed
wants to merge 1 commit into from

Conversation

lenemter
Copy link
Member

@lenemter lenemter commented Jul 8, 2024

Fixes the issue when if you close window in the multitasking view (using the close button and without dragging it first) WindowClone will be freed only after reopening multitasking view. It's not a memory leak but still would be better to free objects early.

@lenemter lenemter requested a review from a team July 8, 2024 04:48
@leolost2605
Copy link
Member

leolost2605 commented Jul 8, 2024

Idk but in cases like this I usually prefer setting things to null instead of making them unowned. Because unowned always has a kind of unsafe feeling for me...

@lenemter lenemter closed this Jul 10, 2024
@lenemter lenemter deleted the lenemter/container-dont-hold-ref branch July 10, 2024 09:57
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