VIVO-588 Fixed a typo to fix the deadlocked threads.
This commit is contained in:
parent
60102fbf28
commit
f981fd2c53
1 changed files with 2 additions and 1 deletions
|
@ -537,13 +537,14 @@ public class PageDaoJena extends JenaBaseDao implements PageDao {
|
|||
List<String> actions = new ArrayList<String>();
|
||||
|
||||
Model dModel = getOntModelSelector().getDisplayModel();
|
||||
dModel.enterCriticalSection(false);
|
||||
try{
|
||||
QueryExecution qe =
|
||||
QueryExecutionFactory.create( requiredActionsQuery, dModel, initialBindings);
|
||||
actions = executeQueryToList( qe );
|
||||
qe.close();
|
||||
}finally{
|
||||
dModel.enterCriticalSection(false);
|
||||
dModel.leaveCriticalSection();
|
||||
}
|
||||
return actions;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue