Skip to content

Commit

Permalink
fix anr
Browse files Browse the repository at this point in the history
  • Loading branch information
JemyCheung committed Nov 5, 2020
1 parent 8ade739 commit 09a69df
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ protected void onLeaveButtonClicked(View view) {
@Override
public void finish() {
rtcEngine().leaveChannel();
rtcEngine().stopPreview();
closeCamera();
super.finish();
}

Expand Down

0 comments on commit 09a69df

Please sign in to comment.