you’ve got a timing window \
create {
connect
send
}
----
onReceive.addlistener({
});
onReceiveError.addlistener({
});
---
move the connect/send AFTER adding the listeners…
----
onReceive.addlistener({
});
onReceiveError.addlistener({
});
---
create({
connect
send
})
---
otherwise there is a timing window, where the send might happen before the listeners are setup… sometimes…
which is what you are seeing…