Clean up statistics services
Stops collection processes and ensures proper shutdown of statistics services to prevent memory leaks and background processes.
export function shutdownStatisticsServices(): void { try { saveLog("Shutting down statistics services", "INFO"); stopSkipMetricsCollection(); } catch (error) { saveLog(`Error shutting down statistics services: ${error}`, "ERROR"); }} Copy
export function shutdownStatisticsServices(): void { try { saveLog("Shutting down statistics services", "INFO"); stopSkipMetricsCollection(); } catch (error) { saveLog(`Error shutting down statistics services: ${error}`, "ERROR"); }}
Clean up statistics services
Stops collection processes and ensures proper shutdown of statistics services to prevent memory leaks and background processes.