MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / onRemove

Method onRemove

Engine/source/console/SimXMLDocument.cpp:187–195  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

185// Script destructor.
186// -----------------------------------------------------------------------------
187void SimXMLDocument::onRemove()
188{
189 Parent::onRemove();
190 if(m_qDocument)
191 {
192 m_qDocument->Clear();
193 delete(m_qDocument);
194 }
195}
196
197// -----------------------------------------------------------------------------
198// Initialize peristent fields (datablocks).

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected