Skip to content

Commit f89449c

Browse files
committed
fix possible concurrent modification exception
1 parent 9b95214 commit f89449c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/com/biglybt/core/impl/CoreImpl.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226

227227
private boolean ll_started;
228228

229-
private final List<CoreOperationListener> operation_listeners = new ArrayList<>();
229+
private final CopyOnWriteList<CoreOperationListener> operation_listeners = new CopyOnWriteList<>();
230230
private final CopyOnWriteList<CoreOperation> operations = new CopyOnWriteList<>();
231231

232232
private final CopyOnWriteList<PowerManagementListener> power_listeners = new CopyOnWriteList<>();

0 commit comments

Comments
 (0)