mirror of
https://git.proxmox.com/git/fwupd
synced 2025-11-03 10:46:38 +00:00
trivial: Partially revert some of 464eacdc
The FuUsbDevice was using a locker of NULL to indicate unlocked, and just calling `fu_device_locker_close()` does not unset the object.
This commit is contained in:
parent
464eacdc53
commit
184baf6f4a
@ -282,7 +282,8 @@ fu_usb_device_close (FuDevice *device, GError **error)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return fu_device_locker_close (priv->usb_device_locker, error);
|
||||
g_clear_object (&priv->usb_device_locker);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
||||
Loading…
Reference in New Issue
Block a user