mirror of
https://github.com/apache/cordova-android.git
synced 2025-04-11 10:15:20 +08:00
Fix PluginManager.setPluginEntries not removing old entries
This commit is contained in:
parent
e86c2e5970
commit
9ea8b2237a
@ -74,6 +74,8 @@ public class PluginManager {
|
|||||||
this.onPause(false);
|
this.onPause(false);
|
||||||
this.onDestroy();
|
this.onDestroy();
|
||||||
this.clearPluginObjects();
|
this.clearPluginObjects();
|
||||||
|
entries.clear();
|
||||||
|
urlMap.clear();
|
||||||
for (PluginEntry entry : pluginEntries) {
|
for (PluginEntry entry : pluginEntries) {
|
||||||
addService(entry);
|
addService(entry);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user