summaryrefslogtreecommitdiffstats
path: root/priv
diff options
context:
space:
mode:
authorDave Peticolas <[email protected]>2013-04-07 20:23:04 -0700
committerDave Peticolas <[email protected]>2013-04-07 20:23:04 -0700
commitd2f9805b0d668e5b76ca63cd1b47b8a205ba09e1 (patch)
tree160bb9ca25a03b3a3e38aa8694b60283eaea3df5 /priv
parentcb88dfc843072ea18301bad2a98b6f32d755fac6 (diff)
downloadbullet-d2f9805b0d668e5b76ca63cd1b47b8a205ba09e1.tar.gz
bullet-d2f9805b0d668e5b76ca63cd1b47b8a205ba09e1.tar.bz2
bullet-d2f9805b0d668e5b76ca63cd1b47b8a205ba09e1.zip
Drop transport reference after closing.
Diffstat (limited to 'priv')
-rw-r--r--priv/bullet.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/priv/bullet.js b/priv/bullet.js
index 88c9f89..f1b22ba 100644
--- a/priv/bullet.js
+++ b/priv/bullet.js
@@ -215,6 +215,7 @@
if (readyState == CLOSING){
readyState = CLOSED;
+ transport = false;
stream.onclose();
} else{
// Close happened on connect, select next transport