Fix: crash when attempting to unload volume tree twice

This commit is contained in:
Jacques Lucke
2024-08-13 17:47:47 +02:00
parent 9eb7e8bfd1
commit e1422530d6

View File

@@ -221,6 +221,9 @@ void VolumeGridData::unload_tree_if_possible() const
if (!grid_) {
return;
}
if (!tree_loaded_) {
return;
}
if (!this->is_reloadable()) {
return;
}