Update: So it seems this is an iOS issue, not an openvidu issue as such, although vidu does seem to ignore the fact the session vanished when it’s iOS.
What i did in the end was implement window:beforeunload and window:pagehide (for ios) and force the session to be closed.