mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
stop track
This commit is contained in:
parent
46b4ef4d80
commit
efa6b3a069
1 changed files with 3 additions and 0 deletions
|
@ -133,6 +133,9 @@ class Video {
|
|||
this._singleSetup = null;
|
||||
// by clearing refs to video and track, we should lose our hold over the camera
|
||||
this._video = null;
|
||||
if (this._track) {
|
||||
this._track.stop();
|
||||
}
|
||||
this._track = null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue