Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
46
ApplicationManager::ApplicationPtr ApplicationManager::getCurrentAppSafe() const {
47
CC_ASSERT(!_currentApp.expired());
48
return _currentApp.lock();
49
}
50
} // namespace cc
51
52
//
Callers
1
endRenderFrame
Method · 0.80
Calls
1
lock
Method · 0.80
Tested by
no test coverage detected