From 136e359df2ccb908ddb909e1a23b4547d1f40e5a Mon Sep 17 00:00:00 2001 From: alonkukl Date: Fri, 11 Oct 2024 09:41:04 -0700 Subject: [PATCH 1/2] Fixing a typo in a var name that caused a crash --- bqskit/runtime/detached.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bqskit/runtime/detached.py b/bqskit/runtime/detached.py index ea32afbd..616f9cf2 100644 --- a/bqskit/runtime/detached.py +++ b/bqskit/runtime/detached.py @@ -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_connd)) in self.tasks.items(): if other_conn == conn: tasks_to_pop.append((task_id, tid)) From 6e5a1560aaa6dc8ac609ca81e3979ea5ab2e6603 Mon Sep 17 00:00:00 2001 From: alonkukl Date: Fri, 11 Oct 2024 09:47:55 -0700 Subject: [PATCH 2/2] typo fix --- bqskit/runtime/detached.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bqskit/runtime/detached.py b/bqskit/runtime/detached.py index 616f9cf2..51b805aa 100644 --- a/bqskit/runtime/detached.py +++ b/bqskit/runtime/detached.py @@ -260,7 +260,7 @@ def handle_disconnect(self, conn: Connection) -> None: self.handle_cancel_comp_task(task_id) tasks_to_pop = [] - for (task_id, (tid, other_connd)) 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))