mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 01:38:01 +01:00
Remove erroneous code.
This commit is contained in:
@@ -435,13 +435,6 @@ public static partial class Application
|
||||
{
|
||||
Top.OnLeave (Toplevel);
|
||||
}
|
||||
else if (OverlappedTop is null && Top is { } && Toplevel != Top && _topLevels.Contains (Top))
|
||||
{
|
||||
#if DEBUG_IDISPOSABLE
|
||||
// Probably this will never hit
|
||||
Debug.Assert (Top.WasDisposed);
|
||||
#endif
|
||||
}
|
||||
|
||||
// BUGBUG: We should not depend on `Id` internally.
|
||||
// BUGBUG: It is super unclear what this code does anyway.
|
||||
|
||||
Reference in New Issue
Block a user