Example #1
0
 public void Dispose()
 {
     _server.CloseAsync().ContinueWith(t => _server.SafeDispose()).Wait();
 }
Example #2
0
 private void close()
 {
     _server.CloseAsync().ContinueWith(t => _server.SafeDispose()).Wait();
 }