mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed singleplayer logout crash due to orphaned mesh worker
Former-commit-id: 2b8c5aa0c906223ac043db8137ad95a0e29407c5
This commit is contained in:
parent
e8b6e120dc
commit
8af606e348
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user