auto restart system
parent
6ca542642f
commit
6090cadb23
|
@ -117,6 +117,7 @@ public class SocketClientMessageListener implements KraSocketClientEventInterfac
|
|||
|
||||
if (serviceInfoSnapshots != null) {
|
||||
serviceInfoSnapshots.forEach(serviceInfoSnapshot -> {
|
||||
System.out.println("lobby " + serviceInfoSnapshot.getName());
|
||||
if (!serverName.equals(serviceInfoSnapshot.getName())) {
|
||||
serviceInfoSnapshot.provider().stop();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue