mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 04:39:54 +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
|
// Start the poller
|
||||||
if(LOG.isLoggable(INFO)) LOG.info("Starting 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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user