Fixed WindowsDriver mem leak

This commit is contained in:
Tigger Kindel
2023-10-05 09:14:51 -06:00
committed by Tig
parent e1e82e07a1
commit e4f3b97da0
7 changed files with 100 additions and 43 deletions

View File

@@ -242,7 +242,7 @@ namespace Terminal.Gui {
// BUGBUG: OverlappedTop is not cleared here, but it should be?
MainLoop?.Stop ();
MainLoop?.Dispose ();
MainLoop = null;
Driver?.End ();
Driver = null;