Github user jeking3 commented on a diff in the pull request:
https://github.com/apache/thrift/pull/1437#discussion_r154672797
--- Diff: lib/js/src/thrift.js ---
@@ -599,8 +599,8 @@ Thrift.TWebSocketTransport.prototype = {
//If the user made calls before the connection was fully
//open, send them now
this.send_pending.forEach(function(elem) {
- this.socket.send(elem.buf);
- this.callbacks.push((function() {
+ self.socket.send(elem.buf);
--- End diff --
I'm running through cross tests to see if this resolves anything we know
failed in the past.
---