Fix check-in camera re-init after closing

* Fixes https://github.com/Attendize/Attendize/issues/391
This commit is contained in:
Sebastian Schmidt 2018-09-19 09:29:57 +10:00
parent 36c93dd7c9
commit 9f16beaca3
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ var checkinApp = new Vue({
this.showScannerModal = false;
track = this.stream.getTracks()[0];
track.stop();
this.isInit = false;
this.fetchAttendees();
}
}