Allow VexEditorListeners to remove themself during method invocation.

When the DocumentLoaded or DocumentUnloaded events are fired, a listener
might be disposed and removes itself from the listener list. This caused
a ConcurrentModificationException.

Change-Id: Ib562ccf75b152e6335d1f4067417aef28f4259fa
Signed-off-by: Carsten Hiesserich <carsten.hie@gmail.com>
1 file changed