diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/file-stream.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/file-stream.js b/lib/file-stream.js index 4d34dca..afef5c0 100644 --- a/lib/file-stream.js +++ b/lib/file-stream.js @@ -117,4 +117,5 @@ FileStream.prototype.destroy = function () { var self = this if (self.destroyed) return self.destroyed = true + self._storage.emit('deselect', self.startPiece, self.endPiece, true) } |