You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use COW list for event hooks, to avoid synchronization.
See jruby#1142. This supercedes a fix there.
I opted to use CopyOnWriteArrayList here for two reasons:
* It does not require synchronization, neither for access nor iter
* EventHooks should are only added or removed rarely
0 commit comments