Support XRTest.disconnectAllDevices()

This commit is contained in:
Manish Goregaokar 2019-07-19 19:59:55 -07:00
parent b0002a003d
commit 3f95d304ec
6 changed files with 55 additions and 11 deletions

View file

@ -395,6 +395,7 @@ impl XRSessionMethods for XRSession {
// shuts itself down
self.ended.set(true);
global.as_window().Navigator().Xr().end_session(self);
self.session.borrow_mut().end_session();
p
}
}