Skip to content

Commit a82e3b9

Browse files
MrRaveYardRicardoLuis0
authored andcommitted
Add missing GC write barrier
1 parent ddbf903 commit a82e3b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/objects/dobject.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ void DObject::Destroy ()
330330
}
331331
OnDestroy();
332332
ObjectFlags = (ObjectFlags & ~OF_Fixed) | OF_EuthanizeMe;
333+
GC::WriteBarrier(this);
333334
}
334335

335336
DEFINE_ACTION_FUNCTION(DObject, Destroy)

0 commit comments

Comments
 (0)