upd: 关闭实例时清空在线人数统计数据

This commit is contained in:
小林 2022-02-26 17:59:28 +08:00
parent 63e552bd17
commit 5ba458a3c0

View File

@ -68,6 +68,7 @@ export default class RefreshPlayer implements ILifeCycleTask {
instance.info.maxPlayers = -1;
instance.info.currentPlayers = -1;
instance.info.version = "";
instance.info.playersChart = [];
clearInterval(this.task);
}
}