OpenMined / syft.js

The official Syft worker for Web and Node, built in Javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Peer connections not closed

vkkhare opened this issue · comments

removePeer function when called only closes the data channel.

Shouldn't the peer connection should also get closed when the worker leaves or is removed?

This should be done when the tab is closed or the worker loses connection, no? I believe this is cleaned up by the browser.

@vvmnnnkv Did we address this?