Skip to content

Commit

Permalink
Merge pull request #294 from BQSKit/server_crash_fix
Browse files Browse the repository at this point in the history
Solving issue #293
  • Loading branch information
alonkukl authored Oct 11, 2024
2 parents 28204df + 6e5a156 commit 059cff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bqskit/runtime/detached.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def handle_disconnect(self, conn: Connection) -> None:
self.handle_cancel_comp_task(task_id)

tasks_to_pop = []
for (task, (tid, other_conn)) in self.tasks.items():
for (task_id, (tid, other_conn)) in self.tasks.items():
if other_conn == conn:
tasks_to_pop.append((task_id, tid))

Expand Down

0 comments on commit 059cff6

Please sign in to comment.