优化
This commit is contained in:
1 parent
eec1a7c408
commit
974cb92631
1 file changed
+1
-1
@@ -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>>()
|
||||||
|
|||||||
Reference in new issue
Block a user