mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 23:11:29 -04:00
Refactored poll loop
This enables breaking the loop from the outside and cleans up the countdown
This commit is contained in:
parent
eeae741262
commit
ead579a6e9
2 changed files with 20 additions and 33 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue