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

Method onRemove

Engine/source/console/SimXMLDocument.cpp:186–194  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected