Skip to content

Commit

Permalink
Revert "Clear components in a separate pass"
Browse files Browse the repository at this point in the history
This causes a crash, let's revert it for now.
  • Loading branch information
AmyrAhmady committed Sep 23, 2023
1 parent 2553cbf commit b3fb252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Server/Source/core_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ class ComponentList : public IComponentList
pair.second->onFree(it->second);
});
it->second->free();
it = components.erase(it);
}
components.clear();
}

auto add(IComponent* component)
Expand Down

0 comments on commit b3fb252

Please sign in to comment.