Skip to content

Commit

Permalink
取消手动调用surface release
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuo committed Mar 14, 2019
1 parent c79c504 commit 217ee3e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void setNeedMute(boolean needMute) {
@Override
public void releaseSurface() {
if (surface != null) {
surface.release();
//surface.release();
surface = null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void setNeedMute(final boolean needMute) {
@Override
public void releaseSurface() {
if (surface != null) {
surface.release();
//surface.release();
surface = null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void setNeedMute(boolean needMute) {
@Override
public void releaseSurface() {
if (surface != null) {
surface.release();
//surface.release();
surface = null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void setNeedMute(boolean needMute) {
@Override
public void releaseSurface() {
if (surface != null) {
surface.release();
//surface.release();
surface = null;
}
}
Expand Down

0 comments on commit 217ee3e

Please sign in to comment.