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
defonLeave(self, *args, **kwargs):
# since we overrode the built in onLeave, we need to call# disconnect ourselves.# also, autobahn-python's .leave() method doesn't# propagate the reason or log_message, #todo, file bugprint('shit papi, onLeave:',args[0].reason,kwargs)
ifnotargs[0].reason=='wamp.close.normal':
print('unexpected communication loss from router:',args[0].reason,kwargs)
self.disconnect()
results in this output:
shit papi, onLeave: wamp.close.normal {}
this is different from autobahn-js where .leave(x, y) does result in the correct reason=x value
The text was updated successfully, but these errors were encountered:
There does indeed appear to be an issue with crossbar here (although I don't get quite the behavior above, I also don't see the correct reason propagated).
this call:
with this callback:
results in this output:
this is different from autobahn-js where .leave(x, y) does result in the correct reason=x value
The text was updated successfully, but these errors were encountered: