Potential deadlock detected:
Process: 3
Program: a4ae897d-01f6-7c9d-fc35-fbe22fd3660d
BCI: 0x3365
Primitive: 18:1
fatal: Potential dead-lockEvents::register_monitor_notifierupdate_resource_monitorLocker locker(mutex_)kebab-casechannel_ = Channel 20
....
channel-send msg/protocol.Message -> none:
if active_:
channel_.send msg
...
run:
while true:
while msg / protocol.Message? := channel_.receive --blocking=false:
...location-channel / Channel := ?register-monitor-notifiersleepreceivea4ae897d-01f6-7c9d-fc35-fbe22fd3660d$HOME/local/.state/toit/a4ae897d-01f6-7c9d-fc35-fbe22fd3660d.snapshotinvoke primitive13149: register-monitor-notifier_ <sdk>/core/events_.toit:73:1
0/13153 [018] - load local 4
1/13154 [048] - as class RpcRequestQueue_?(125 - 136)
3/13156 [041] - pop 1
4/13157 [089] - invoke primitive {events::register_monitor_notifier}
8/13161 [053] - invoke static throw <sdk>/core/exceptions.toit:39:1
11/13164 [041] - pop 1