Closed youkinjoh closed 1 year ago
This logic is remove method when reconnect.
Target method name is onclose .
onclose
connection.onclose = _ => { connection = null; showDisconnectedUI(); };
But, this logic remove onclosed method.
onclosed
// Disconnect from existing presentation, if not attempting to reconnect if (connection && connection != newConnection && connection.state != 'closed') { connection.onclosed = undefined; connection.close(); }
Preview | Diff
tidoust marked as non substantive for IPR from ash-nazg.
@youkinjoh thank you for your attention to detail!
(It looks like the CI failure is unrelated, trying to merge.)
This logic is remove method when reconnect.
Target method name is
onclose
.But, this logic remove
onclosed
method.Preview | Diff