Skip to content

Commit

Permalink
Remove session deactivation
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Jul 11, 2019
1 parent b654b60 commit 7a8640e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions components/script/dom/xr.rs
Expand Up @@ -76,11 +76,6 @@ impl XR {
self.pending_immersive_session.set(false);
self.active_immersive_session.set(Some(session))
}

pub fn deactivate_session(&self) {
self.pending_immersive_session.set(false);
self.active_immersive_session.set(None)
}
}

impl Drop for XR {
Expand Down

0 comments on commit 7a8640e

Please sign in to comment.