Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Apps/Cycling/Software/Libs/Sources/Service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,12 @@ void Service::onStopGUI()
{
mGuiStarted = false;

// GPS early-acquire is tied to GUI (see connectGps in onStartGUI). Release it when
// the GUI stops
if (mSensorGpsLocation.isConnected()) {
mSensorGpsLocation.disconnect();
}

mSensorWristMotion.disconnect();
}

Expand Down
6 changes: 6 additions & 0 deletions Apps/Hiking/Software/Libs/Sources/Service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,12 @@ void Service::onStopGUI()
{
mGuiStarted = false;

// GPS early-acquire is tied to GUI (see connectGps in onStartGUI). Release it when
// the GUI stops
if (mSensorGpsLocation.isConnected()) {
mSensorGpsLocation.disconnect();
}

mSensorWristMotion.disconnect();
}

Expand Down
6 changes: 6 additions & 0 deletions Apps/Running/Software/Libs/Sources/Service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,12 @@ void Service::onStopGUI()
{
mGuiStarted = false;

// GPS early-acquire is tied to GUI (see connectGps in onStartGUI). Release it when
// the GUI stops
if (mSensorGpsLocation.isConnected()) {
mSensorGpsLocation.disconnect();
}

mSensorWristMotion.disconnect();
}

Expand Down
Loading