1
0
Fork 0
forked from wry/wry

all: add missing object tracking

This commit is contained in:
Julian Orth 2024-07-02 17:01:45 +02:00
parent f94f199ab1
commit 555bd0a1bc
7 changed files with 11 additions and 1 deletions

View file

@ -46,6 +46,7 @@ impl WpDrmLeaseRequestV1RequestHandler for WpDrmLeaseRequestV1 {
finished: Cell::new(false),
lease: Default::default(),
});
track!(self.client, obj);
self.client.add_client_obj(&obj)?;
if self.connectors.is_empty() {
return Err(WpDrmLeaseRequestV1Error::EmptyLease);