[KEYCLOAK-13579] - Ignore exceptions when shutting down loopback server
This commit is contained in:
parent
601bf8d63e
commit
2e54ebda76
1 changed files with 5 additions and 1 deletions
|
@ -637,7 +637,11 @@ public class KeycloakInstalled {
|
|||
}
|
||||
|
||||
public void stop() {
|
||||
server.stop();
|
||||
try {
|
||||
server.stop();
|
||||
} catch (Exception ignore) {
|
||||
// it is OK to happen if thread is modified while stopping the server, specially when a security manager is enabled
|
||||
}
|
||||
}
|
||||
|
||||
public int getLocalPort() {
|
||||
|
|
Loading…
Reference in a new issue