Skip to content

Commit

Permalink
Revert "in component.py the stop() should do session.leave() and retu…
Browse files Browse the repository at this point in the history
…rn the future (not return session.leave() result) (#1075)"

This reverts commit 3cd1083.
  • Loading branch information
oberstet authored Nov 6, 2018
1 parent 3cd1083 commit dbb6837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autobahn/wamp/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def transport_check(_):
def stop(self):
self._stopping = True
if self._session and self._session.is_attached():
self._session.leave()
return self._session.leave()
elif self._delay_f:
# This cancel request will actually call the "error" callback of
# the _delay_f future. Nothing to worry about.
Expand Down

0 comments on commit dbb6837

Please sign in to comment.