mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 08:50:25 +01:00
Fix scenario dispose
This commit is contained in:
@@ -84,6 +84,14 @@ public class Images : Scenario
|
||||
Application.Run (win);
|
||||
win.Dispose ();
|
||||
Application.Shutdown ();
|
||||
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Dispose (bool disposing)
|
||||
{
|
||||
base.Dispose (disposing);
|
||||
_imageView.Dispose ();
|
||||
}
|
||||
|
||||
private void OpenImage (object sender, HandledEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user