// Initialize graceful stop flag
stopping = false;
+ // Allocate the executor service
+ this.executor = Executors.newSingleThreadExecutor();
+
// Start event handler thread
frmEventHandler.start();
if (staticFlows.isEmpty()) {
loadFlowConfiguration();
}
-
- // Allocate the executor service
- this.executor = Executors.newSingleThreadExecutor();
}
/**