Skip to content

Commit

Permalink
Fix PluginManager.setPluginEntries not removing old entries
Browse files Browse the repository at this point in the history
  • Loading branch information
agrieve committed Jul 8, 2014
1 parent e86c2e5 commit 9ea8b22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/src/org/apache/cordova/PluginManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public void setPluginEntries(List<PluginEntry> pluginEntries) {
this.onPause(false);
this.onDestroy();
this.clearPluginObjects();
entries.clear();
urlMap.clear();
for (PluginEntry entry : pluginEntries) {
addService(entry);
}
Expand Down

0 comments on commit 9ea8b22

Please sign in to comment.