← Back to team overview

touch-packages team mailing list archive

[Bug 1351109] Re: No way to clean up a UASensorsHaptic when finished with it

 

** Branch linked: lp:~nick-dedekind/qtubuntu-sensors/lp1351109.destroy-
haptic-instance

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to platform-api in Ubuntu.
https://bugs.launchpad.net/bugs/1351109

Title:
  No way to clean up a UASensorsHaptic when finished with it

Status in platform-api:
  In Progress
Status in platform-api package in Ubuntu:
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/platform-api/+bug/1351109/+subscriptions


References