fix: prevent stopped servers from returning to running state
This commit is contained in:
@@ -613,11 +613,6 @@ export class ServerLifecycle {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
logger.info(
|
|
||||||
"Stoppe leeren Server:",
|
|
||||||
server.name
|
|
||||||
);
|
|
||||||
|
|
||||||
this.serverManager.stopServer(
|
this.serverManager.stopServer(
|
||||||
|
|
||||||
server.id
|
server.id
|
||||||
|
|||||||
@@ -410,7 +410,7 @@ export class ServerRegistry {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
if(srv.alive){
|
if(srv.alive && server.status !== "STOPPING"){
|
||||||
|
|
||||||
if(!server.startedAt){
|
if(!server.startedAt){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user