ExceptionUtils.logAndShowError("Cannot commit editor changes", e);
}
});
+ postCommit();
} catch (InvocationTargetException | InterruptedException e) {
LOGGER.error("Unexpected exception", e);
}
}
-
+
+ protected void postCommit() {}
+
protected void commit(WriteGraph graph) throws DatabaseException {
synchronized(syncMutex) {
if (DEBUG) System.out.println("Commit");