Skip to content

Commit

Permalink
Critical leak fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Epixu committed Oct 20, 2024
1 parent cdd45a5 commit 9204a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/Thing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ namespace Langulus::Entity
// the Units were created on the stack.
// If they still have owners, they will attempt to Decouple in
// A::Unit::~Unit from already destroyed mUnitsList/Ambiguous
mUnitsAmbiguous.Reset();
for (auto& unit : mUnitsList) {
ENTITY_VERBOSE_SELF(
"Tearing off unit ", unit, " at ", unit->GetReferences(), " uses...");
Expand Down

0 comments on commit 9204a2a

Please sign in to comment.