Skip to content

qt/position: prevent crash when stopping a denied location request

stopUpdates() was missing the error() guard present in other interacting functions, which makes it possible to access a null d->session and crash. However, it's not a good idea to emit an error in stopUpdates() since applications could call stop() again, causing infinite call cycle.

Fixes: #14 (closed)

Edited by Ratchanan Srirattanamet

Merge request reports