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

atagar at torproject.org atagar at torproject.org
Sun Jul 17 06:08:31 UTC 2011


commit 667039af25376132c131d999ab984dd72fa86094
Author: Kamran Riaz Khan <krkhan at inspirated.com>
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





More information about the tor-commits mailing list