We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5173d10 commit 1f40cfcCopy full SHA for 1f40cfc
1 file changed
internal/api/rust/rust.go
@@ -697,7 +697,12 @@ func (c *RustClient) ensureListening(t ct.TestLike, roomID string) {
697
return false
698
}
699
if room := c.findRoom(t, roomID); room != nil {
700
- c.ensureListening(t, roomID) // this should work now
+ // Do this asynchronously because adding a timeline listener is done synchronously
701
+ // which will cause "signal arrived during cgo execution" if it happens within
702
+ // this rooms listener callback.
703
+ go func() {
704
+ c.ensureListening(t, roomID) // this should work now
705
+ }()
706
return true
707
708
0 commit comments