Skip to content

Commit

Permalink
Create the session manager before creating the route to prevent NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
besidev committed Nov 10, 2023
1 parent a1919bd commit dc49d81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ abstract class RouteApp extends Application {

_scene = new Scene(root, 1400, 800)
stage.setScene(_scene)
_sessionManager = SessionManager.getDefault(routeNode, stage)
routeNode.setRoute(createRoute())
stage.show()
_sessionManager = SessionManager.getDefault(routeNode, stage)
routeNode.start(_sessionManager)
}

Expand Down

0 comments on commit dc49d81

Please sign in to comment.