Skip to content
Browse files

remove from cache when proxy ends

  • Loading branch information...
1 parent 3503c50 commit b54a0ec953f07aa450c23f62bfce0396471c6d5c @Raynos committed Aug 10, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 browser.js
View
3 browser.js
@@ -108,11 +108,10 @@ function reconnecter(uri) {
, opts: opts
})
- mdm.on("end", removeFromCache)
+ proxy.on("end", removeFromCache)
stream.once("end", cleanup)
function cleanup() {
- mdm.removeListener("end", removeFromCache)
mdm.end()
}

0 comments on commit b54a0ec

Please sign in to comment.
Something went wrong with that request. Please try again.