mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Cleans up dim/pos objs in dispose. See #2914.
This commit is contained in:
@@ -503,6 +503,11 @@ namespace Terminal.Gui {
|
||||
Padding?.Dispose ();
|
||||
Padding = null;
|
||||
|
||||
_height = null;
|
||||
_width = null;
|
||||
_x = null;
|
||||
_y = null;
|
||||
|
||||
for (var i = InternalSubviews.Count - 1; i >= 0; i--) {
|
||||
var subview = InternalSubviews [i];
|
||||
Remove (subview);
|
||||
|
||||
Reference in New Issue
Block a user