Fix use of ImportNotifier
Somehow when updating to this API, I missed the call to `successful`. This doesn't seem to make a difference for most clients since `create_immed` is normally used. But should correct anything using `create`.
This commit is contained in:
parent
a8b401b11d
commit
6eb8b82440
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ impl DmabufHandler for State {
|
|||
) {
|
||||
if self.backend.dmabuf_imported(global, dmabuf).is_err() {
|
||||
import_notifier.failed();
|
||||
} else {
|
||||
let _ = import_notifier.successful::<State>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue