equal
deleted
inserted
replaced
135 else: |
135 else: |
136 _WampConnection = threads.blockingCallFromThread( |
136 _WampConnection = threads.blockingCallFromThread( |
137 reactor, RegisterWampClient) |
137 reactor, RegisterWampClient) |
138 if not _WampSessionEvent.wait(5): |
138 if not _WampSessionEvent.wait(5): |
139 _WampConnection = stopConnecting() |
139 _WampConnection = stopConnecting() |
140 raise Exception, _("WAMP connection timeout") |
140 raise Exception(_("WAMP connection timeout")) |
141 |
141 |
142 def __del__(self): |
142 def __del__(self): |
143 global _WampConnection |
143 global _WampConnection |
144 _WampConnection.disconnect() |
144 _WampConnection.disconnect() |
145 # |
145 # |