Beispiel #1
0
 public void Dispose()
 {
     _rioTcpServer?.Stop();
     _listenSocket?.Dispose();
     _uvTcpListener?.Stop();
     _uvThread?.Dispose();
 }
Beispiel #2
0
        protected override async Task Stop()
        {
            running = false;
            await runningtask;

            listener.Stop();
        }
Beispiel #3
0
 public void Dispose()
 {
     _rioTcpServer?.Stop();
     _rioTcpServer = null;
 }