Refactor: Streamline code formatting, introduce cleaner structure, and remove unused Class1. Add .editorconfig for consistent coding style.
This commit is contained in:
@@ -118,10 +118,26 @@ public sealed class ChildSession : NotifyBase, IAsyncDisposable
|
||||
}
|
||||
catch { }
|
||||
|
||||
try { Pipe.Dispose(); } catch { }
|
||||
try { Process.Dispose(); } catch { }
|
||||
try { LifetimeCts.Dispose(); } catch { }
|
||||
try { _writeLock.Dispose(); } catch { }
|
||||
try
|
||||
{
|
||||
Pipe.Dispose();
|
||||
}
|
||||
catch { }
|
||||
try
|
||||
{
|
||||
Process.Dispose();
|
||||
}
|
||||
catch { }
|
||||
try
|
||||
{
|
||||
LifetimeCts.Dispose();
|
||||
}
|
||||
catch { }
|
||||
try
|
||||
{
|
||||
_writeLock.Dispose();
|
||||
}
|
||||
catch { }
|
||||
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user