MCPcopy Create free account
hub / github.com/cocos/cocos-engine / getCurrentAppSafe

Method getCurrentAppSafe

native/cocos/application/ApplicationManager.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46ApplicationManager::ApplicationPtr ApplicationManager::getCurrentAppSafe() const {
47 CC_ASSERT(!_currentApp.expired());
48 return _currentApp.lock();
49}
50} // namespace cc
51
52//

Callers 1

endRenderFrameMethod · 0.80

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected