Enrico Daga created CLEREZZA-912:
------------------------------------

             Summary: Release locks in finally clauses to prevent deadlocks in 
VirtuosoMGraph
                 Key: CLEREZZA-912
                 URL: https://issues.apache.org/jira/browse/CLEREZZA-912
             Project: Clerezza
          Issue Type: Bug
            Reporter: Enrico Daga
            Assignee: Enrico Daga


As the summary says, we should change this:

 readLock.lock();
 ...
 readLock.unlock();

to

 readLock.lock();
 try{

 }finally{
  readLock.unlock;
 }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to