mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-17 04:30:56 +08:00
+1
-1
@@ -201,7 +201,7 @@ void MemoryFile::reloadFromFile() {
|
||||
if (isFileValid()) {
|
||||
MMKVWarning("calling reloadFromFile while the cache [%s] is still valid", m_diskFile.m_path.c_str());
|
||||
MMKV_ASSERT(0);
|
||||
clearMemoryCache();
|
||||
doCleanMemoryCache(false);
|
||||
}
|
||||
|
||||
if (!m_diskFile.open()) {
|
||||
|
||||
Reference in New Issue
Block a user