Sign in
梁美英
/
programming
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
6e1dc26564d91a0a016cdca19a9f81dc06ce3088
Authored by
ykxie
2017-01-19 16:12:38 +0800
1 parent
6b202706
修改音频重新录制六次以上bug
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/js/recorder/Myna.js
src/js/recorder/Myna.js
View file @
6e1dc26
@@ -140,7 +140,10 @@
@@ -140,7 +140,10 @@
140
140
141
//停止
141
//停止
142
this.stop = function() {
142
this.stop = function() {
143
- recorder.disconnect();
143
+ context.close().then(function(){
144
+ recorder.disconnect();
145
+ });
146
+
144
}
147
}
145
148
146
//获取音频文件
149
//获取音频文件