MCPcopy Create free account
hub / github.com/defold/defold / TearDown

Method TearDown

engine/script/src/test/test_script.cpp:94–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94void ScriptTest::TearDown()
95{
96 dmConfigFile::Delete(m_ConfigFile);
97 dmResource::DeleteFactory(m_ResourceFactory);
98
99 dmScript::Finalize(m_Context);
100 dmScript::DeleteContext(m_Context);
101
102 if (s_LogListenerContext)
103 dmLogUnregisterListener(LogCallback);
104 FinalizeLogs();
105}
106
107char* ScriptTest::GetLog()
108{

Callers

nothing calls this directly

Calls 5

DeleteFactoryFunction · 0.85
dmLogUnregisterListenerFunction · 0.85
DeleteFunction · 0.50
FinalizeFunction · 0.50
DeleteContextFunction · 0.50

Tested by

no test coverage detected