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

Function Final

engine/hid/src/native/hid_native.cpp:208–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206 }
207
208 void Final(HContext context)
209 {
210 if (context)
211 {
212 context->m_Finalizing = 1;
213 NativeContextUserData* user_data = (NativeContextUserData*) context->m_NativeContextUserData;
214 if (user_data)
215 {
216 for (int i = 0; i < user_data->m_GamepadDrivers.Size(); ++i)
217 {
218 user_data->m_GamepadDrivers[i]->m_Destroy(context, user_data->m_GamepadDrivers[i]);
219 }
220
221 delete user_data;
222 }
223 context->m_NativeContextUserData = 0;
224 }
225 }
226
227 bool Update(HContext context)
228 {

Callers 3

TearDownMethod · 0.50
TEST_FFunction · 0.50
EngineDestroyFunction · 0.50

Calls 1

SizeMethod · 0.45

Tested by 3

TearDownMethod · 0.40
TEST_FFunction · 0.40
EngineDestroyFunction · 0.40