Skip to content

Commit

Permalink
Ensure MarkerEdit data is cleared on restart
Browse files Browse the repository at this point in the history
The MarkerEditCache is cleared out when doing a soft restart, but not a
full shutdown.
  • Loading branch information
danrahn committed Oct 21, 2023
1 parent adcff9a commit 8d73c05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Server/MarkerBackupManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ class MarkerBackupManager {

/** Closes the database connection. */
async close() {
MarkerEditCache.clear();
Log.verbose('Shutting down backup database connection...');
try {
await this.#actions?.close();
Expand Down

0 comments on commit 8d73c05

Please sign in to comment.