mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
Improve error-handling in PortalService example
This commit is contained in:
1 parent
f256733d0b
commit
7667e9716e
1 file changed
+2
-1
@@ -109,7 +109,8 @@ class Application:
|
||||
peer = self._peers.pop(connection_id)
|
||||
for channel in list(peer.memberships):
|
||||
channel.remove_member(peer)
|
||||
self._release_nick(peer.nick)
|
||||
if peer.nick is not None:
|
||||
self._release_nick(peer.nick)
|
||||
|
||||
def _on_authenticated(self, connection_id, session_info):
|
||||
print("on_authenticated()", connection_id, session_info)
|
||||
|
||||
Reference in new issue
Block a user