Commit 6d3f7847 authored by Guido Gunther's avatar Guido Gunther Committed by Sebastian Krzyszkowiak
Browse files

proximity: Make sure we destroy the fader when we unclaim the sensor



We must never blank screen when not tracking proximity.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 714ff149
Pipeline #66894 passed with stages
in 34 minutes and 30 seconds
......@@ -86,6 +86,7 @@ on_proximity_released (PhoshSensorProxyManager *sensor_proxy_manager,
} else {
g_warning ("Failed to release proximity sensor: %s", err->message);
}
g_clear_pointer (&self->fader, phosh_cp_widget_destroy);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment