NPE during shutdown of storages was fixed.
@@ -19,14 +19,16 @@ public interface OShutdownHandler {
int SHUTDOWN_WORKERS_PRIORITY = 1000;
/**
- * Priority of {@link Orient.OShutdownOrientDBInstancesHandler} handler.
+ * Priority of {@link com.orientechnologies.orient.core.Orient.OShutdownPendingThreadsHandler} handler.
*/
- int SHUTDOWN_ENGINES_PRIORITY = 1100;
+ int SHUTDOWN_PENDING_THREADS_PRIORITY = 1100;
+
/**
- * Priority of {@link com.orientechnologies.orient.core.Orient.OShutdownPendingThreadsHandler} handler.
+ * Priority of {@link Orient.OShutdownOrientDBInstancesHandler} handler.
*/
- int SHUTDOWN_PENDING_THREADS_PRIORITY = 1200;
+ int SHUTDOWN_ENGINES_PRIORITY = 1200;
+
/**
* Priority of {@link com.orientechnologies.orient.core.Orient.OShutdownProfilerHandler} handler.
