mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 03:21:28 +00:00
Add missing GC write barrier
This commit is contained in:
parent
ddbf90389b
commit
a82e3b9dfe
1 changed files with 1 additions and 0 deletions
|
@ -330,6 +330,7 @@ void DObject::Destroy ()
|
|||
}
|
||||
OnDestroy();
|
||||
ObjectFlags = (ObjectFlags & ~OF_Fixed) | OF_EuthanizeMe;
|
||||
GC::WriteBarrier(this);
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DObject, Destroy)
|
||||
|
|
Loading…
Reference in a new issue