Merge pull request #57764 from timothyqiu/octant-delete

This commit is contained in:
Rémi Verschelde 2022-02-07 18:28:27 +01:00 committed by GitHub
commit d35269ab21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -813,6 +813,7 @@ void GridMap::_update_octants_callback() {
}
while (to_delete.front()) {
memdelete(octant_map[to_delete.front()->get()]);
octant_map.erase(to_delete.front()->get());
to_delete.pop_front();
}