YYCache
YYCache copied to clipboard
High performance cache framework for iOS.
修复Xcode16编译引起的闪退,在 iOS18 中,需要提前对 sqlite3_stmt 执行 sqlite3_finalize ```objective-c @implementation YYKVStorage - (BOOL)_dbClose { ... // 原代码 if (_dbStmtCache) CFRelease(_dbStmtCache); // 替换为 if (_dbStmtCache) { CFIndex size = CFDictionaryGetCount(_dbStmtCache); CFTypeRef *valuesRef =...
我们在iOS18上遇到了崩溃,崩溃堆栈为YYKVStorage里所有调用`sqlite3_step`的地方 0pcache1FetchStage2 (in SchubertAppStore) pcache1.c:910 1sqlite3PagerGet (in SchubertAppStore) pager.c:5395 2getAndInitPage (in SchubertAppStore) btree.c:2004 3sqlite3BtreeMovetoUnpacked (in SchubertAppStore) btree.c:5278 4handleDeferredMoveto (in SchubertAppStore) vdbeaux.c:3011 5sqlite3VdbeExec (in SchubertAppStore) vdbe.c:2461 6sqlite3Step (in SchubertAppStore) [inlined] vdbeapi.c:602...