From ab5ab0614c3ebf6678dbb6a159e2fa9091a9ed7a Mon Sep 17 00:00:00 2001 From: Lucy Ciara Herud-Thomassen <86323303+LucyCiara@users.noreply.github.com> Date: Fri, 20 Mar 2026 17:11:52 +0100 Subject: [PATCH] fix[app]: properly call the stop super method when overriding --- src/main/java/edu/group5/app/App.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/edu/group5/app/App.java b/src/main/java/edu/group5/app/App.java index 5870b77..d657fb8 100644 --- a/src/main/java/edu/group5/app/App.java +++ b/src/main/java/edu/group5/app/App.java @@ -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());