From 3686becf21c002b108c779221747116dd152103f Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Mon, 13 May 2019 18:59:47 +0100 Subject: [PATCH] Fixed singleplayer logout crash due to orphaned mesh worker Former-commit-id: 2b8c5aa0c906223ac043db8137ad95a0e29407c5 --- voxygen/src/scene/terrain.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/voxygen/src/scene/terrain.rs b/voxygen/src/scene/terrain.rs index 2a53e879b9..daf0c29327 100644 --- a/voxygen/src/scene/terrain.rs +++ b/voxygen/src/scene/terrain.rs @@ -157,8 +157,7 @@ impl Terrain { // Queue the worker thread client.thread_pool().execute(move || { - send.send(mesh_worker(pos, current_tick, volume, aabb)) - .expect("Failed to send chunk mesh to main thread"); + let _ = send.send(mesh_worker(pos, current_tick, volume, aabb)); }); todo.active_worker = true; }