NIHVIVO-3125 (deadlock detected)
This commit is contained in:
parent
5e7b538255
commit
a4060f0c13
1 changed files with 4 additions and 1 deletions
|
@ -541,6 +541,7 @@ public class SimpleReasoner extends StatementListener {
|
|||
} finally {
|
||||
aboxModel.leaveCriticalSection();
|
||||
}
|
||||
|
||||
for (Resource ind : subjectList) {
|
||||
if (entailedType(ind,superClass)) {
|
||||
continue;
|
||||
|
@ -551,10 +552,12 @@ public class SimpleReasoner extends StatementListener {
|
|||
if (inferenceModel.contains(infStmt)) {
|
||||
inferenceModel.remove(infStmt);
|
||||
}
|
||||
setMostSpecificTypes(ind, inferenceModel, new HashSet<String>());
|
||||
|
||||
} finally {
|
||||
inferenceModel.leaveCriticalSection();
|
||||
}
|
||||
|
||||
setMostSpecificTypes(ind, inferenceModel, new HashSet<String>());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue