Fixed bug
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134672 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
635f18f667
commit
62c0d06750
|
@ -909,7 +909,7 @@ public class EntityManagementImpl implements EntityManagement {
|
||||||
throw new ResourceRegistryException("Error Updating Facet",
|
throw new ResourceRegistryException("Error Updating Facet",
|
||||||
e.getCause());
|
e.getCause());
|
||||||
} finally {
|
} finally {
|
||||||
if (orientGraph != null) {
|
if (orientGraph != null && !orientGraph.isClosed()) {
|
||||||
orientGraph.shutdown();
|
orientGraph.shutdown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue