Fix Uptime Kuma cannot be stopped

This commit is contained in:
Louis Lam 2022-12-08 19:13:47 +08:00
parent 2dff7dd380
commit e478084ff9
3 changed files with 10 additions and 1 deletions

View file

@ -1740,6 +1740,7 @@ async function shutdownFunction(signal) {
stopBackgroundJobs();
await cloudflaredStop();
Settings.stopCacheCleaner();
}
/** Final function called before application exits */