mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Copy the collection of plugins before passing it to the poller.
This commit is contained in:
@@ -107,7 +107,8 @@ class PluginManagerImpl implements PluginManager {
|
||||
}
|
||||
// Start the poller
|
||||
if(LOG.isLoggable(INFO)) LOG.info("Starting poller");
|
||||
poller.start(plugins.values());
|
||||
List<Plugin> start = new ArrayList<Plugin>(plugins.values());
|
||||
poller.start(Collections.unmodifiableList(start));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user