summaryrefslogtreecommitdiffstats
path: root/src/Generating
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2018-07-22 23:35:58 +0200
committerGitHub <noreply@github.com>2018-07-22 23:35:58 +0200
commit7b431bed513db3318811698029304d81e5831ab3 (patch)
treea05eec7426d42f0d194f538292559e3da189c13d /src/Generating
parentMake offline UUIDs consistent with vanilla. (#4178) (diff)
downloadcuberite-7b431bed513db3318811698029304d81e5831ab3.tar
cuberite-7b431bed513db3318811698029304d81e5831ab3.tar.gz
cuberite-7b431bed513db3318811698029304d81e5831ab3.tar.bz2
cuberite-7b431bed513db3318811698029304d81e5831ab3.tar.lz
cuberite-7b431bed513db3318811698029304d81e5831ab3.tar.xz
cuberite-7b431bed513db3318811698029304d81e5831ab3.tar.zst
cuberite-7b431bed513db3318811698029304d81e5831ab3.zip
Diffstat (limited to 'src/Generating')
-rw-r--r--src/Generating/ChunkGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/ChunkGenerator.cpp b/src/Generating/ChunkGenerator.cpp
index e0fee5bd0..3ac128c46 100644
--- a/src/Generating/ChunkGenerator.cpp
+++ b/src/Generating/ChunkGenerator.cpp
@@ -98,7 +98,7 @@ void cChunkGenerator::Stop(void)
m_ShouldTerminate = true;
m_Event.Set();
m_evtRemoved.Set(); // Wake up anybody waiting for empty queue
- Wait();
+ super::Stop();
delete m_Generator;
m_Generator = nullptr;