fix: extension activity interruption (#1005)

fixed interruption with only local plugins

Co-authored-by: int3debug <gh.ditch236@passinbox.com>
This commit is contained in:
int3debug 2024-03-25 00:47:26 +01:00 committed by GitHub
parent 2f03ca7de9
commit 9ef1f1cc41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -429,7 +429,6 @@ object PluginManager {
**/ **/
fun loadAllLocalPlugins(context: Context, forceReload: Boolean) { fun loadAllLocalPlugins(context: Context, forceReload: Boolean) {
val dir = File(LOCAL_PLUGINS_PATH) val dir = File(LOCAL_PLUGINS_PATH)
removeKey(PLUGINS_KEY_LOCAL)
if (!dir.exists()) { if (!dir.exists()) {
val res = dir.mkdirs() val res = dir.mkdirs()