예제 #1
0
 public void Dispose()
 {
     lock (_lockObj)
     {
         Client?.Dispose();
         _shell?.Dispose();
         Client = null;
         _shell = null;
     }
 }
예제 #2
0
 public ShellClient CreateShell()
 {
     //_shell?.Stop();
     return(_shell = new ShellClient(Client));
 }