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>();
|
List<String> actions = new ArrayList<String>();
|
||||||
|
|
||||||
Model dModel = getOntModelSelector().getDisplayModel();
|
Model dModel = getOntModelSelector().getDisplayModel();
|
||||||
|
dModel.enterCriticalSection(false);
|
||||||
try{
|
try{
|
||||||
QueryExecution qe =
|
QueryExecution qe =
|
||||||
QueryExecutionFactory.create( requiredActionsQuery, dModel, initialBindings);
|
QueryExecutionFactory.create( requiredActionsQuery, dModel, initialBindings);
|
||||||
actions = executeQueryToList( qe );
|
actions = executeQueryToList( qe );
|
||||||
qe.close();
|
qe.close();
|
||||||
}finally{
|
}finally{
|
||||||
dModel.enterCriticalSection(false);
|
dModel.leaveCriticalSection();
|
||||||
}
|
}
|
||||||
return actions;
|
return actions;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue