commit dfed38da17068239fc64965fa02b2aa591f6a646 Author: David Fifield david@bamsoftware.com Date: Mon Apr 2 09:05:36 2012 -0700
Bind flush callback to this. --- flashproxy.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/flashproxy.js b/flashproxy.js index 3fcf4a0..167ec2c 100644 --- a/flashproxy.js +++ b/flashproxy.js @@ -538,7 +538,7 @@ function FlashProxy() }
if (this.r2c_schedule.length > 0 || this.c2r_schedule.length > 0) - this.flush_timeout_id = setTimeout(this.flush, rate_limit.when() * 1000); + this.flush_timeout_id = setTimeout(this.flush.bind(this), rate_limit.when() * 1000); }; } }
tor-commits@lists.torproject.org