diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-01-22 18:56:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-23 00:56:17 +0100 |
commit | 1b2176a426dd987795f20e9042a8d79f958b7b44 (patch) | |
tree | f1c54c1054ad2de97a1cf53e3640a70ef9f6451e /src | |
parent | 95a775cd3ae5a8281289acb36391b9ef27cc574d (diff) | |
download | minetest-1b2176a426dd987795f20e9042a8d79f958b7b44.tar.gz minetest-1b2176a426dd987795f20e9042a8d79f958b7b44.tar.bz2 minetest-1b2176a426dd987795f20e9042a8d79f958b7b44.zip |
Cancel emerge callbacks on shutdown
Diffstat (limited to 'src')
-rw-r--r-- | src/emerge.cpp | 2 |
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; } |