No way to clean up a UASensorsHaptic when finished with it

Bug #1351109 reported by Charles Kerr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Medium
kevin gunn
platform-api
Fix Released
Medium
Nick Dedekind
platform-api (Ubuntu)
Fix Released
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

Revision history for this message
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)
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.