MCPcopy Create free account
hub / github.com/carbonengine/trinity / Cancel

Method Cancel

trinity/Resources/Tr2LoadPrepareFence.cpp:33–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void Tr2LoadPrepareFence::Cancel()
34{
35 if( m_resourceLoadCbId )
36 {
37 BeResMan->CancelFromQueue( BRMQ_BACKGROUND, m_resourceLoadCbId );
38 m_resourceLoadCbId = 0;
39 }
40
41 if( m_resourcePrepCbId )
42 {
43 BeResMan->CancelFromQueue( BRMQ_MAIN, m_resourcePrepCbId );
44 m_resourcePrepCbId = 0;
45 }
46 m_reached = true;
47 m_onPrepared = {};
48}
49
50void Tr2LoadPrepareFence::StaticResourceLoadFinished( void* pContext )
51{

Callers 2

InitializeMethod · 0.45
OnShutdownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected