feat(editor): align selection popup and all editor control elements styling with Reader #81
@@ -116,10 +116,18 @@
|
|||||||
await _module.DisposeAsync();
|
await _module.DisposeAsync();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (JSDisconnectedException)
|
||||||
|
{
|
||||||
|
// Fail silently during circuit disconnection
|
||||||
|
}
|
||||||
|
catch (ObjectDisposedException)
|
||||||
|
{
|
||||||
|
// Fail silently if JS runtime/module is already disposed
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
// Fail silently during page navigation/webview closures to avoid noisy logs
|
// Log other unexpected errors
|
||||||
Console.WriteLine($"[MarkdownEditor] Error during JS cleanup: {ex.Message}");
|
Console.WriteLine($"[MarkdownEditor] Unexpected error during JS cleanup: {ex.Message}");
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user