Skip to content

Commit

Permalink
make it a set instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalbel committed Apr 9, 2024
1 parent f063e2c commit 0b33d5e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def _on_comm_close(self, comm_id: str):
"""
Handles front-end initiated close requests
"""
paths = list(self.comm_id_to_path.get(comm_id, set()))
paths = set(self.comm_id_to_path.get(comm_id, set()))

if not paths:
# id the connection is not associated with any variable path, we close it
Expand Down

0 comments on commit 0b33d5e

Please sign in to comment.