From 2efd0d623e85f38df0101b6e48f587bc14f53924 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 25 Apr 2023 13:53:33 -0700 Subject: [PATCH] fixup! pick: Fix a lot of locking issues --- bin/pick/ui.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/pick/ui.py b/bin/pick/ui.py index d2a19e73129a4..4441e35db1131 100644 --- a/bin/pick/ui.py +++ b/bin/pick/ui.py @@ -263,8 +263,7 @@ class UI: break async def save(self) -> None: - async with core.STATE_LOCK.write(): - core.save(itertools.chain(self.new_commits, self.previous_commits)) + core.save(itertools.chain(self.new_commits, self.previous_commits)) def add(self) -> None: """Add an additional commit which isn't nominated."""