mercurial/hgweb/protocol.py
changeset 8109 496ae1ea4698
parent 7281 f96c20e9b56a
child 8225 46293a0c7e9f
--- a/mercurial/hgweb/protocol.py	Wed Apr 22 02:01:22 2009 +0200
+++ b/mercurial/hgweb/protocol.py	Wed Apr 22 02:01:22 2009 +0200
@@ -163,7 +163,7 @@
                 req.respond(HTTP_OK, HGTYPE)
                 return '%d\n%s' % (ret, val),
             finally:
-                del lock
+                lock.release()
         except ValueError, inst:
             raise ErrorResponse(HTTP_OK, inst)
         except (OSError, IOError), inst: