Improve the detection of a disconnected peer to update the user list with the WebRTC service
This commit is contained in:
@@ -281,10 +281,6 @@ define([
|
||||
onPeerMessage(peerId, type, wc);
|
||||
};
|
||||
|
||||
window.onunload = function() {
|
||||
wc.leave();
|
||||
};
|
||||
|
||||
// Open a Chainpad session
|
||||
realtime = createRealtime();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user