[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [snowflake/master] getClientOffer can return after snowflake is disabled
commit 7090316e5c3a780dbf877fab6e5339534b3f5377
Author: Arlo Breault <arlolra@xxxxxxxxx>
Date: Sat Jun 29 20:19:51 2019 -0400
getClientOffer can return after snowflake is disabled
---
proxy/snowflake.coffee | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/snowflake.coffee b/proxy/snowflake.coffee
index d2fdf91..d54f593 100644
--- a/proxy/snowflake.coffee
+++ b/proxy/snowflake.coffee
@@ -72,7 +72,7 @@ class Snowflake
@ui.setStatus msg
recv = @broker.getClientOffer pair.id
recv.then (desc) =>
- @receiveOffer pair, desc
+ if pair.running then @receiveOffer pair, desc
, (err) ->
pair.active = false
@retries++
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits