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