robustify

This commit is contained in:
Tobias Oberstein 2016-08-14 12:31:57 +02:00
parent dea8b18525
commit 91a5535d24

View File

@ -377,7 +377,7 @@ class ApplicationSession(BaseSession):
"""
Implements :func:`autobahn.wamp.interfaces.ISession.is_attached`
"""
return self._session_id is not None
return self._transport is not None and self._session_id is not None
def onUserError(self, fail, msg):
"""