begin multiplex snowflake connect loop for #31

This commit is contained in:
Serene Han 2016-03-20 11:11:21 -07:00 committed by Arlo Breault
parent 346f316038
commit 451edb6dec
2 changed files with 18 additions and 6 deletions

View file

@ -207,9 +207,6 @@ func (c *webRTCConn) establishDataChannel() error {
// Disable the DataChannel as a write destination.
log.Println("WebRTC: DataChannel.OnClose [remotely]")
c.snowflake = nil
// TODO(issue #12): Need a way to update the circuit so that when a new WebRTC
// data channel is available, the relay actually recognizes the new
// snowflake.
c.Reset()
}
dc.OnMessage = func(msg []byte) {