diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-05 20:57:22 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-02-05 20:57:22 +0100 |
commit | dedb414a50328bf00462409d14d8917ff24844be (patch) | |
tree | 8024df89792a668ad675730b124429c4f03dc1dd /source/Root.cpp | |
parent | BiomeVisualiser: initial import (diff) | |
download | cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.gz cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.bz2 cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.lz cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.xz cuberite-dedb414a50328bf00462409d14d8917ff24844be.tar.zst cuberite-dedb414a50328bf00462409d14d8917ff24844be.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Root.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Root.cpp b/source/Root.cpp index 1ec7f0e59..72003ca72 100644 --- a/source/Root.cpp +++ b/source/Root.cpp @@ -189,8 +189,6 @@ void cRoot::Start(void) StopWorlds(); LOG("Stopping authenticator..."); m_Authenticator.Stop(); - LOG("Stopping plugin manager..."); - delete m_PluginManager; m_PluginManager = 0; // This should be first #ifdef USE_SQUIRREL @@ -208,6 +206,9 @@ void cRoot::Start(void) LOG("Unloading worlds..."); UnloadWorlds(); + LOG("Stopping plugin manager..."); + delete m_PluginManager; m_PluginManager = NULL; + cItemHandler::Deinit(); cBlockHandler::Deinit(); |