From 510bd78b8e6d3309c88ba772e4e1526da2b2a8c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Jul 2016 20:14:53 +0300 Subject: Clean statdb on unload. --- src/resources/db/statdb.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/resources/db/statdb.cpp b/src/resources/db/statdb.cpp index 728b509a6..0c1cd7e93 100644 --- a/src/resources/db/statdb.cpp +++ b/src/resources/db/statdb.cpp @@ -183,5 +183,7 @@ void StatDb::unload() { logger->log1("Unloading stat database..."); + mBasicStats.clear(); + mExtendedStats.clear(); mLoaded = false; } -- cgit v1.2.3-70-g09d2