Igalia / wolvic

A fast and secure browser for standalone virtual-reality and augmented-reality headsets.
https://wolvic.org
Mozilla Public License 2.0
813 stars 105 forks source link

[Chromium] Add null checks for the PermissionDelegate #1203

Closed svillar closed 9 months ago

svillar commented 9 months ago

This is the same scenario as the one described in https://github.com/Igalia/wolvic/pull/951#issue-1881592422 but for the PermissionsDelegate object. When the session is closed the delegate is released, so any potential event coming from Chromium will find that there is no delegate to notify.

svillar commented 9 months ago

Fixes https://github.com/Igalia/wolvic-chromium/issues/54