##// END OF EJS Templates
lock: clear postrelease hooks list after usage...
Gregory Szorc -
r28959:518c3e39 default
parent child Browse files
Show More
@@ -234,6 +234,8 b' class lock(object):'
234 234 if not self._parentheld:
235 235 for callback in self.postrelease:
236 236 callback()
237 # Prevent double usage and help clear cycles.
238 self.postrelease = None
237 239
238 240 def release(*locks):
239 241 for lock in locks:
General Comments 0
You need to be logged in to leave comments. Login now