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
Based on the CometBFT event bus implementation, it appears that stopping the event bus before waiting on subscriptions would fix the issue. That means swapping the order of this DeferErr call and the Defer linked above:
Reproduce:
After examining a core dump, it appears Monomer gets blocked in
env.Close
when waiting for all websocket subscriptions to finish.monomer/node/node.go
Line 157 in 7055b06
Based on the CometBFT event bus implementation, it appears that stopping the event bus before waiting on subscriptions would fix the issue. That means swapping the order of this
DeferErr
call and theDefer
linked above:monomer/node/node.go
Line 107 in 7055b06
Unfortunately, I don't have time to confirm that my understanding of the problem and solution is accurate, but this should be a good start.
The text was updated successfully, but these errors were encountered: