Skip to content

Commit

Permalink
destroy decrypter when used
Browse files Browse the repository at this point in the history
  • Loading branch information
kanongil committed Dec 4, 2015
1 parent 89b2b7f commit 6403e65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/demux/demuxer.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ class Demuxer {
this.w = null;
} else {
this.demuxer.destroy();
this.demuxer = null;
}
if (this.decrypter) {
this.decrypter.destroy();
this.decrypter = null;
}
}

Expand Down

0 comments on commit 6403e65

Please sign in to comment.