File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
adapter/src/main/kotlin/org/javacs/ktda/jdi/event Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import com.sun.jdi.event.LocatableEvent as JDILocatableEvent
1818import com.sun.jdi.event.EventSet as JDIEventSet
1919import com.sun.jdi.event.StepEvent as JDIStepEvent
2020import com.sun.jdi.event.ExceptionEvent as JDIExceptionEvent
21+ import java.util.concurrent.ConcurrentHashMap
2122import kotlin.reflect.KClass
2223
2324/* *
@@ -26,7 +27,7 @@ import kotlin.reflect.KClass
2627 */
2728class VMEventBus (private val vm : VirtualMachine ): DebuggeeEventBus {
2829 private var exited = false
29- private val eventListeners = mutableMapOf <KClass <out JDIEvent >, ListenerList <VMEvent <JDIEvent >>>()
30+ private val eventListeners = ConcurrentHashMap <KClass <out JDIEvent >, ListenerList <VMEvent <JDIEvent >>>()
3031 override val exitListeners = ListenerList <ExitEvent >()
3132 override val breakpointListeners = ListenerList <BreakpointStopEvent >()
3233 override val stepListeners = ListenerList <StepStopEvent >()
You can’t perform that action at this time.
0 commit comments