mirror of https://github.com/axmolengine/axmol.git
Merge pull request #15811 from mogemimi/fix-method-name
Fix typo in method name: 'destory' -> 'destroy'
This commit is contained in:
commit
84de5b0cf0
|
@ -56,7 +56,7 @@ public class Cocos2dxLocalStorage {
|
|||
return false;
|
||||
}
|
||||
|
||||
public static void destory() {
|
||||
public static void destroy() {
|
||||
if (mDatabase != null) {
|
||||
mDatabase.close();
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ void localStorageInit( const std::string& fullpath)
|
|||
void localStorageFree()
|
||||
{
|
||||
if (_initialized) {
|
||||
JniHelper::callStaticVoidMethod(className, "destory");
|
||||
JniHelper::callStaticVoidMethod(className, "destroy");
|
||||
_initialized = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue