aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJude Melton-Houghton <jwmhjwmh@gmail.com>2022-01-22 18:56:17 -0500
committerGitHub <noreply@github.com>2022-01-23 00:56:17 +0100
commit1b2176a426dd987795f20e9042a8d79f958b7b44 (patch)
treef1c54c1054ad2de97a1cf53e3640a70ef9f6451e /src
parent95a775cd3ae5a8281289acb36391b9ef27cc574d (diff)
downloadminetest-1b2176a426dd987795f20e9042a8d79f958b7b44.tar.gz
minetest-1b2176a426dd987795f20e9042a8d79f958b7b44.tar.bz2
minetest-1b2176a426dd987795f20e9042a8d79f958b7b44.zip
Cancel emerge callbacks on shutdown
Diffstat (limited to 'src')
-rw-r--r--src/emerge.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emerge.cpp b/src/emerge.cpp
index 619b1fa8e..55ae99caf 100644
--- a/src/emerge.cpp
+++ b/src/emerge.cpp
@@ -724,6 +724,8 @@ void *EmergeThread::run()
m_server->setAsyncFatalError(err.str());
}
+ cancelPendingItems();
+
END_DEBUG_EXCEPTION_HANDLER
return NULL;
}