Fix: crash when attempting to unload volume tree twice
This commit is contained in:
@@ -221,6 +221,9 @@ void VolumeGridData::unload_tree_if_possible() const
|
||||
if (!grid_) {
|
||||
return;
|
||||
}
|
||||
if (!tree_loaded_) {
|
||||
return;
|
||||
}
|
||||
if (!this->is_reloadable()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user