Public bug reported: 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. ** Affects: platform-api (Ubuntu) Importance: Medium Status: New -- 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” package in Ubuntu: New 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/ubuntu/+source/platform-api/+bug/1351109/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp