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

Method TearDown

engine/script/src/test/test_script_msg.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 void TearDown() override
81 {
82 lua_pushnil(L);
83 dmScript::SetInstance(L);
84 dmMessage::DeleteSocket(m_DefaultURL.m_Socket);
85 dmScript::Finalize(m_ScriptContext);
86 dmScript::DeleteContext(m_ScriptContext);
87 }
88
89 dmScript::HContext m_ScriptContext;
90 lua_State* L;

Callers

nothing calls this directly

Calls 5

lua_pushnilFunction · 0.85
SetInstanceFunction · 0.85
DeleteSocketFunction · 0.85
FinalizeFunction · 0.50
DeleteContextFunction · 0.50

Tested by

no test coverage detected