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 {
|
} finally {
|
||||||
aboxModel.leaveCriticalSection();
|
aboxModel.leaveCriticalSection();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (Resource ind : subjectList) {
|
for (Resource ind : subjectList) {
|
||||||
if (entailedType(ind,superClass)) {
|
if (entailedType(ind,superClass)) {
|
||||||
continue;
|
continue;
|
||||||
|
@ -551,10 +552,12 @@ public class SimpleReasoner extends StatementListener {
|
||||||
if (inferenceModel.contains(infStmt)) {
|
if (inferenceModel.contains(infStmt)) {
|
||||||
inferenceModel.remove(infStmt);
|
inferenceModel.remove(infStmt);
|
||||||
}
|
}
|
||||||
setMostSpecificTypes(ind, inferenceModel, new HashSet<String>());
|
|
||||||
} finally {
|
} finally {
|
||||||
inferenceModel.leaveCriticalSection();
|
inferenceModel.leaveCriticalSection();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setMostSpecificTypes(ind, inferenceModel, new HashSet<String>());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue