Closed Bug 1504354 Opened 6 years ago Closed 5 years ago

Manage VRExternalShmem lifetime between VRService and VRManager

Categories

(Core :: WebVR, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1430040

People

(Reporter: daoshengmu, Assigned: daoshengmu)

References

Details

We use shared memory, VRExternalShmem, between VRService and VRManager. VRExternalShmem is created by VRService. Beside that, VRService is running at VRService thread and VRManager is running at Compositor thread.

During the closing time, we sometimes shutdown VRService thread and its VRExternalShmem first, but we still call pull/push states by Run10msTasks/Run100msTasks in Compositor thread. It will make us get null ptr from VRExternalShmem.
Blocks: 1476092
Depends on: 1430040
Assignee: nobody → dmu
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.