mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-02 00:25:10 -04:00
Use a simple HashSet for our listener set since we don't need the
overhead of the CoWASet
This commit is contained in:
parent
19ca87a2d5
commit
b21120405e
@ -364,7 +364,7 @@ public class MessagingController implements Runnable
|
||||
return mListeners;
|
||||
}
|
||||
|
||||
Set<MessagingListener> listeners = new CopyOnWriteArraySet<MessagingListener>(mListeners);
|
||||
Set<MessagingListener> listeners = new HashSet<MessagingListener>(mListeners);
|
||||
listeners.add(listener);
|
||||
return listeners;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user