This commit is contained in:
parent
bea4928648
commit
8dcdea1600
|
|
@ -9,7 +9,6 @@ if (process.platform == "linux") logger.warn("Game hosting might not be fully co
|
||||||
global.games = new Map()
|
global.games = new Map()
|
||||||
|
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
logger.info("Killing jobless RCCService instances...")
|
|
||||||
global.games.forEach(async (value, key) => {
|
global.games.forEach(async (value, key) => {
|
||||||
if (!(await game.Running())) value.Stop()
|
if (!(await game.Running())) value.Stop()
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue