diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-05 20:14:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-05 20:14:53 +0300 |
commit | 510bd78b8e6d3309c88ba772e4e1526da2b2a8c9 (patch) | |
tree | cc91a7f8acfe8b2cfb03e9e081398274df6ab746 /src/resources/db | |
parent | 66c691cebe91764fb36f513848fdc0ddfc3e12b6 (diff) | |
download | manaplus-510bd78b8e6d3309c88ba772e4e1526da2b2a8c9.tar.gz manaplus-510bd78b8e6d3309c88ba772e4e1526da2b2a8c9.tar.bz2 manaplus-510bd78b8e6d3309c88ba772e4e1526da2b2a8c9.tar.xz manaplus-510bd78b8e6d3309c88ba772e4e1526da2b2a8c9.zip |
Clean statdb on unload.
Diffstat (limited to 'src/resources/db')
-rw-r--r-- | src/resources/db/statdb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |