mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
Fix misspelled function names (#16834)
Co-authored-by: qiuguohua <guohua.qiu@cocos.com>
This commit is contained in:
@@ -32,7 +32,7 @@ ApplicationManager *ApplicationManager::getInstance() {
|
||||
return &mgr;
|
||||
}
|
||||
|
||||
void ApplicationManager::releseAllApplications() {
|
||||
void ApplicationManager::releaseAllApplications() {
|
||||
_apps.clear();
|
||||
}
|
||||
|
||||
@@ -53,5 +53,5 @@ ApplicationManager::ApplicationPtr ApplicationManager::getCurrentAppSafe() const
|
||||
void cocos_destory() { // NOLINT(readability-identifier-naming)
|
||||
// Called in the platform layer, because the platform layer is isolated from the application layer
|
||||
// It is the platform layer to drive applications and reclaim resources.
|
||||
cc::ApplicationManager::getInstance()->releseAllApplications();
|
||||
cc::ApplicationManager::getInstance()->releaseAllApplications();
|
||||
}
|
||||
@@ -51,7 +51,7 @@ public:
|
||||
/**
|
||||
* @brief Release all generated applications.
|
||||
*/
|
||||
void releseAllApplications();
|
||||
void releaseAllApplications();
|
||||
/**
|
||||
* @brief Get the current application, may get empty.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user