You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a window is instantiated in an app and the reference to that window is later deleted, the actual object is never garbage collected.
To Reproduce
Here is some example code which counts the number of Window instances:
Expected behavior
Even if circular references to the window object exist, I would expect them to be garbage collected.
Environment:
Operating System: macOS
Python version: 3.9
Software versions:
Briefcase:
Toga: 0.3.0.dev27
Additional context
The implications could be worse than they initially seem since all window content will be retained as well and can potentially use a log of memory (imagine images or a video playing in the window),.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a window is instantiated in an app and the reference to that window is later deleted, the actual object is never garbage collected.
To Reproduce
Here is some example code which counts the number of Window instances:
Expected behavior
Even if circular references to the window object exist, I would expect them to be garbage collected.
Environment:
Additional context
The implications could be worse than they initially seem since all window content will be retained as well and can potentially use a log of memory (imagine images or a video playing in the window),.
The text was updated successfully, but these errors were encountered: