private void OnApplicationQuit() { if (IsServer) { server?.Stop(); } { client?.Stop(); } }
public void Stop() { sn.Stop(); }