Merge pull request #81 from euquiq/fix-gps-sim-exit-while-transmitting-freeze

GPS SIMULATOR EXIT ON PLAY FIX
This commit is contained in:
Erwin Ried 2020-06-16 09:42:48 +02:00 committed by GitHub
commit 1d339af87d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,6 +234,8 @@ GpsSimAppView::~GpsSimAppView() {
void GpsSimAppView::on_hide() {
// TODO: Terrible kludge because widget system doesn't notify Waterfall that
// it's being shown or hidden.
if( is_active() )
stop(false);
waterfall.on_hide();
View::on_hide();
}