mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
linting
This commit is contained in:
parent
e7657f27a2
commit
7f23302d01
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ define(["Tone/core/Tone", "Tone/component/Volume"], function(Tone){
|
|||
*/
|
||||
Tone.UserMedia.prototype.close = function(){
|
||||
if(this._stream){
|
||||
var track = this._stream.getAudioTracks().forEach(function(track){
|
||||
this._stream.getAudioTracks().forEach(function(track){
|
||||
track.stop();
|
||||
});
|
||||
this._stream = null;
|
||||
|
|
Loading…
Reference in a new issue