[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [arm/master] Release lock before returning in case all entries are cached.



commit 667039af25376132c131d999ab984dd72fa86094
Author: Kamran Riaz Khan <krkhan@xxxxxxxxxxxxxx>
Date:   Sat Jul 9 18:57:49 2011 +0500

    Release lock before returning in case all entries are cached.
---
 src/gui/connections/connPanel.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gui/connections/connPanel.py b/src/gui/connections/connPanel.py
index 2c2248a..3c570c3 100644
--- a/src/gui/connections/connPanel.py
+++ b/src/gui/connections/connPanel.py
@@ -77,6 +77,7 @@ class ConnectionPanel(CliConnectionPanel):
       index = index + 1
 
     if index == len(self._entryLines):
+      self.valsLock.release()
       return True
 
     # one of the entries was not found in cache, clear and repopulate the treestore



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits