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

Method destroy

Engine/source/platformWin32/winInput.cpp:377–396  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

375
376//------------------------------------------------------------------------------
377void Input::destroy()
378{
379 Process::remove(Input::process);
380
381#ifdef LOG_INPUT
382 if ( gInputLog )
383 {
384 log( "*** CLOSING LOG ***\n" );
385 CloseHandle( gInputLog );
386 gInputLog = NULL;
387 }
388#endif
389
390 if ( smManager && smManager->isEnabled() )
391 {
392 smManager->disable();
393 delete smManager;
394 smManager = NULL;
395 }
396}
397
398//------------------------------------------------------------------------------
399bool Input::enable()

Callers

nothing calls this directly

Calls 3

logFunction · 0.50
isEnabledMethod · 0.45
disableMethod · 0.45

Tested by

no test coverage detected