Remove garbage collector stuff
This commit is contained in:
@@ -230,7 +230,7 @@ function onResourceStop(event, resource) {
|
||||
kickAllClients();
|
||||
saveServerDataToDatabase();
|
||||
disconnectFromDatabase(persistentDatabaseConnection, true);
|
||||
collectAllGarbage();
|
||||
//collectAllGarbage();
|
||||
|
||||
messageDiscordEventChannel(`⛔ Server is shutting down!`);
|
||||
}
|
||||
|
||||
@@ -3645,7 +3645,7 @@ function deleteJobRouteLocationCommand(command, params, client) {
|
||||
|
||||
getJobData(getJobIdFromDatabaseId(tempJob)).routes[tempJobRoute].locations.splice(tempIndex, 1);
|
||||
setAllJobDataIndexes();
|
||||
collectAllGarbage();
|
||||
//collectAllGarbage();
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
@@ -3683,7 +3683,7 @@ function deleteJobRouteCommand(command, params, client) {
|
||||
getServerData().jobs[jobId].routes.splice(jobRoute, 1);
|
||||
|
||||
setAllJobDataIndexes();
|
||||
collectAllGarbage();
|
||||
//collectAllGarbage();
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
@@ -3711,7 +3711,7 @@ function deleteJobUniformCommand(command, params, client) {
|
||||
getJobData(jobId).uniforms.splice(uniformIndex, 1);
|
||||
|
||||
setAllJobDataIndexes();
|
||||
collectAllGarbage();
|
||||
//collectAllGarbage();
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
@@ -113,9 +113,6 @@ function oneMinuteTimerFunction() {
|
||||
logToConsole(LOG_DEBUG, `[AGRP.Event] Updating all player name tags`);
|
||||
updateAllPlayerNameTags();
|
||||
}
|
||||
|
||||
logToConsole(LOG_DEBUG, `[AGRP.Event] Collecting all garbage`);
|
||||
collectAllGarbage();
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
Reference in New Issue
Block a user