Refactored poll loop

This enables breaking the loop from the outside and cleans up the
countdown
This commit is contained in:
Cecylia Bocovich 2019-06-26 20:16:17 -04:00
parent eeae741262
commit ead579a6e9
2 changed files with 20 additions and 33 deletions

View file

@ -60,7 +60,6 @@ class ProxyPair
log 'Invalid SDP message.'
return false
dbg 'SDP ' + offer.type + ' successfully received.'
@active = true
true
# Given a WebRTC DataChannel, prepare callbacks.