Added ignore for unexpected dispose errors
This commit is contained in:
@@ -39,7 +39,15 @@
|
|||||||
|
|
||||||
public async void Dispose()
|
public async void Dispose()
|
||||||
{
|
{
|
||||||
await Xterm.DisposeAsync();
|
try
|
||||||
|
{
|
||||||
|
await Xterm.DisposeAsync();
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
// ignore dispose errors. They occur when the tab closes unexpectedly
|
||||||
|
// so we can ignore them
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void OnFirstRender()
|
private async void OnFirstRender()
|
||||||
|
|||||||
Reference in New Issue
Block a user