Skip to content

Commit

Permalink
fix[app]: properly call the stop super method when overriding
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucy Ciara Herud-Thomassen authored and Lucy Ciara Herud-Thomassen committed Mar 20, 2026
1 parent e746035 commit ab5ab06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/edu/group5/app/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ public void start(Stage stage) {
}

@Override
public void stop() {
public void stop() throws Exception {
super.stop();
this.logger.info("Application stopping");
this.dbWrapper.connect();
this.dbWrapper.exportUsers(this.userRepository.export());
Expand Down

0 comments on commit ab5ab06

Please sign in to comment.