ensure game isn't suspended when we close

This commit is contained in:
2025-04-08 09:24:01 +01:00
parent e84d1347fd
commit 99bc15b5ed
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -340,6 +340,8 @@ impl Drop for App {
let mut config_file = File::create(config_path).unwrap();
let json = serde_json::to_string_pretty(&persistent_state).unwrap();
config_file.write_all(json.as_bytes()).unwrap();
//
features::empty_session::deactivate(self);
}
}