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
18
18
import com.sun.jdi.event.EventSet as JDIEventSet
19
19
import com.sun.jdi.event.StepEvent as JDIStepEvent
20
20
import com.sun.jdi.event.ExceptionEvent as JDIExceptionEvent
21
+ import java.util.concurrent.ConcurrentHashMap
21
22
import kotlin.reflect.KClass
22
23
23
24
/* *
@@ -26,7 +27,7 @@ import kotlin.reflect.KClass
26
27
*/
27
28
class VMEventBus (private val vm : VirtualMachine ): DebuggeeEventBus {
28
29
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 >>>()
30
31
override val exitListeners = ListenerList <ExitEvent >()
31
32
override val breakpointListeners = ListenerList <BreakpointStopEvent >()
32
33
override val stepListeners = ListenerList <StepStopEvent >()
You can’t perform that action at this time.
0 commit comments