No way to clean up a UASensorsHaptic when finished with it

Bug #1351109 reported by Charles Kerr on 2014-08-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Medium
kevin gunn
platform-api
Medium
Nick Dedekind
platform-api (Ubuntu)
Medium
Nick Dedekind

Bug Description

There's a ua_sensors_haptic_new() function to create a UASensorsHaptic object, but no way to close its resources when done, e.g. an unref or delete func.

Use case: automated tests for client code that uses ua_sensors_haptic_*() and needs to be able to repeatedly start a new bus and then tear it down cleanly when the test is done.

Related branches

Nick Dedekind (nick-dedekind) wrote :

This is causing qt apps to crash when they exit cleanly (eg qml: Qt.quit()) .

Changed in platform-api (Ubuntu):
assignee: nobody → Nick Dedekind (nick-dedekind)
Gerry Boland (gerboland) on 2015-09-29
Changed in platform-api (Ubuntu):
status: New → Confirmed
Changed in platform-api:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Nick Dedekind (nick-dedekind)
Changed in platform-api (Ubuntu):
status: Confirmed → In Progress
Changed in platform-api:
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → kevin gunn (kgunn72)
milestone: none → ww02-2016
Michał Sawicz (saviq) on 2015-12-11
Changed in platform-api:
status: In Progress → Fix Released
Changed in platform-api (Ubuntu):
status: In Progress → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers