Skip to content

Commit 147ff39

Browse files
committed
fix(ios): crash fix on recorder dispose
1 parent fafc4ce commit 147ff39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/audio/ios/recorder.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ export class TNSRecorder extends Observable {
168168
this._recorder.stop();
169169
this._recorder.meteringEnabled = false;
170170
this._recordingSession.setActiveError(false, null);
171-
this._recorder.release();
172171
this._recorder = undefined;
172+
// this._recorder.release();
173173
}
174174
resolve(null);
175175
} catch (ex) {

0 commit comments

Comments
 (0)