Bug 301515
| Summary: | [OpenXR] Instance is never finalized even after exiting active sessions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sergio Villar Senin <svillar> |
| Component: | New Bugs | Assignee: | Sergio Villar Senin <svillar> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sergio Villar Senin
The OpenXR instance is created on demand as soon as WebXR requires info about the available devices. That instance is then never destroyed even after exiting all the active WebXR sessions. That might be problematic in some environments that expect applications to free the instance once it is no longer needed.
There should be possible to destroy and recreate it as many times as needed without a noticeable performance penalty
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sergio Villar Senin
Pull request: https://github.com/WebKit/WebKit/pull/53033
EWS
Committed 302232@main (a976451bcf95): <https://commits.webkit.org/302232@main>
Reviewed commits have been landed. Closing PR #53033 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/163559573>