Example #1
0
 private void ReleaseTerminal()
 {
     TerminalConnection?.Dispose();
     TerminalConnection = null;
 }
Example #2
0
 internal void ConnectTo(ITerminal terminal, ITerminalResource resource)
 {
     ReleaseTerminal();
     TerminalConnection = new WebSocketConnection(this, terminal, resource);
 }