before audio recording close button fixes
This commit is contained in:
parent
128b19ef8f
commit
10d123b58b
1 changed files with 5 additions and 3 deletions
|
|
@ -353,9 +353,11 @@ export default {
|
|||
});
|
||||
},
|
||||
cancelRecording() {
|
||||
this.state = State.INITIAL;
|
||||
this.recorder.stop();
|
||||
this.recorder = null;
|
||||
if(this.recorder) {
|
||||
this.state = State.INITIAL;
|
||||
this.recorder.stop();
|
||||
this.recorder = null;
|
||||
}
|
||||
this.close();
|
||||
},
|
||||
pauseRecording() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue