I have an app where i record activity and gps information. In a "happy flow" I start the recording with a CreateSession and also turn on gps with Position.enableLocationEvents, and in the end of the flow I do _session.stop(), _session.save() and Position.enableLocationEvents(Position.LOCATION_DISABLE...)
What will happen if I close my app before the end of the happy flow? I have a ConfirmExitDelegate that asks me a Yes/No if I press lap. If I confirm with Yes then I do a System.exit(). Do I need to to a .stop(), .discard() and turn off gps separately or is this handled as a consequense of System.exit()?