MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / onRemove

Method onRemove

engine/source/persistence/SimXMLDocument.cpp:86–94  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Script destructor. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

84// Script destructor.
85// -----------------------------------------------------------------------------
86void SimXMLDocument::onRemove()
87{
88 Parent::onRemove();
89 if(m_qDocument)
90 {
91 m_qDocument->Clear();
92 delete(m_qDocument);
93 }
94}
95
96// -----------------------------------------------------------------------------
97// Initialize peristent fields (datablocks).

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected