This commit is contained in:
Horis
2024-07-13 08:05:43 +08:00
parent 56c7dbe8e0
commit 079bcf7b40
@@ -20,7 +20,7 @@ import kotlin.collections.set
object SharedJsScope { object SharedJsScope {
private val cacheFolder = File(appCtx.filesDir, "shareJs") private val cacheFolder = File(appCtx.cacheDir, "shareJs")
private val aCache = ACache.get(cacheFolder) private val aCache = ACache.get(cacheFolder)
private val scopeMap = hashMapOf<String, WeakReference<Scriptable>>() private val scopeMap = hashMapOf<String, WeakReference<Scriptable>>()