Module: Mesa
Branch: staging/23.0
Commit: 2efd0d623e85f38df0101b6e48f587bc14f53924
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2efd0d623e85f38df0101b6e48f587bc14f53924

Author: Dylan Baker <[email protected]>
Date:   Tue Apr 25 13:53:33 2023 -0700

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 d2a19e73129..4441e35db11 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."""

Reply via email to