1
0
Fork 0

reset Instace variable later

This commit is contained in:
jsteemann 2016-04-29 15:18:05 +02:00
parent ea46d40bcd
commit 646b202bf9
1 changed files with 2 additions and 2 deletions

View File

@ -140,6 +140,8 @@ LogfileManager::~LogfileManager() {
delete _slots; delete _slots;
_slots = nullptr; _slots = nullptr;
} }
Instance = nullptr;
} }
void LogfileManager::collectOptions(std::shared_ptr<ProgramOptions> options) { void LogfileManager::collectOptions(std::shared_ptr<ProgramOptions> options) {
@ -528,8 +530,6 @@ void LogfileManager::stop() {
if (res != TRI_ERROR_NO_ERROR) { if (res != TRI_ERROR_NO_ERROR) {
LOG(ERR) << "could not write WAL shutdown info: " << TRI_errno_string(res); LOG(ERR) << "could not write WAL shutdown info: " << TRI_errno_string(res);
} }
Instance = nullptr;
} }
// registers a transaction // registers a transaction