import org.simantics.SimanticsPlatform;
import org.simantics.SimanticsPlatform.OntologyRecoveryPolicy;
import org.simantics.SimanticsPlatform.RecoveryPolicy;
+import org.simantics.TimingProgressMonitor;
import org.simantics.application.arguments.IArguments;
import org.simantics.application.arguments.SimanticsArguments;
import org.simantics.db.common.Indexing;
// Start the database garbage collector after a short while.
SessionGarbageCollectorJob.getInstance().scheduleAfterQuietTime();
- // Discard database session undo history at this point to prevent
- // the user from undoing any initialization operations performed
- // by the platform startup.
- SimanticsPlatform.INSTANCE.discardSessionUndoHistory();
- TimeLogger.log("Discarded session undo history");
-
// #6353: Workaround for
fixBindings();
try {
platformShutdownRunnable.run(null);
} catch (InvocationTargetException e) {
- Activator.logError(getClass().getSimpleName() + ".openWindows failed", e);
+ Activator.logError(getClass().getSimpleName() + ".openWindows failed", e.getCause());
} catch (InterruptedException e) {
Activator.logError(getClass().getSimpleName() + ".openWindows failed", e);
}