diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2021-04-13 19:47:41 +0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2021-04-13 21:00:12 +0100 |
commit | ad29e6cf8dacff144804ab1fb04b096b0d04d4d7 (patch) | |
tree | 44815a4ef7b56a4d2d71d43ff0d96584bf521099 /meson.build | |
parent | 81b9ea72f9982e7c25b09434492140d452acf215 (diff) | |
download | gusb-ad29e6cf8dacff144804ab1fb04b096b0d04d4d7.tar.gz |
device: Reference the libusb device when set
We used to reference a device during the initable init vfunc, however
it's better to do it when the device is actually set as an object
property.
In this way, the device is always unreffed when the object is disposed,
without having to care about the ordering.
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions