stop track

This commit is contained in:
Corey Frang authored and Michael "Z" Goddard committed 2018-04-10 13:59:22 -04:00
1 parent 46b4ef4d80
commit efa6b3a069
1 file changed
+3
+3
View File
@@ -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;
}