Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete the callback before the mMediaCodec is set to null. #2774

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

zhongqiliang
Copy link
Contributor

There is a race condition that the callback is triggered after mMediaCodec is set to null.

b/331835987

There is a race condition that the callback is triggered after
mMediaCodec is set to null.

b/331835987
@datadog-cobalt-youtube
Copy link

datadog-cobalt-youtube bot commented Mar 29, 2024

Datadog Report

Branch report: b/331835987_MediaCodecBridge_NPE
Commit report: 16be8e4
Test service: cobalt

✅ 0 Failed, 30194 Passed, 1 Skipped, 18m 49.6s Wall Time

Copy link

codecov bot commented Mar 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.85%. Comparing base (3f45e5c) to head (16be8e4).
Report is 55 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2774      +/-   ##
==========================================
+ Coverage   58.83%   58.85%   +0.02%     
==========================================
  Files        1904     1904              
  Lines       93291    93320      +29     
==========================================
+ Hits        54889    54927      +38     
+ Misses      38402    38393       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zhongqiliang zhongqiliang merged commit abea6a3 into main Mar 29, 2024
341 of 342 checks passed
@zhongqiliang zhongqiliang deleted the b/331835987_MediaCodecBridge_NPE branch March 29, 2024 20:55
@zhongqiliang zhongqiliang added the cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch label Mar 29, 2024
cobalt-github-releaser-bot pushed a commit that referenced this pull request Mar 29, 2024
There is a race condition that the callback is triggered after
mMediaCodec is set to null.

b/331835987

Co-authored-by: Colin Liang <colinliang@google.com>
(cherry picked from commit abea6a3)
zhongqiliang added a commit that referenced this pull request Mar 29, 2024
…et to null. (#2779)

Refer to the original PR: #2774

There is a race condition that the callback is triggered after
mMediaCodec is set to null.

b/331835987

Co-authored-by: Colin Liang <zhongqi.liang.4u@gmail.com>
zhongqiliang added a commit that referenced this pull request Apr 19, 2024
zhongqiliang added a commit that referenced this pull request Apr 19, 2024
cobalt-github-releaser-bot pushed a commit that referenced this pull request Apr 19, 2024
gbournou pushed a commit that referenced this pull request Apr 22, 2024
…dec is set to null." (#3034)

Refer to the original PR: #3015

Reverts #2774

b/331835987

Co-authored-by: Colin Liang <zhongqi.liang.4u@gmail.com>
cobalt-github-releaser-bot pushed a commit that referenced this pull request Jun 24, 2024
kaidokert pushed a commit that referenced this pull request Jun 24, 2024
…dec is set to null." (#3674)

Refer to the original PR: #3015

Reverts #2774

b/331835987

Co-authored-by: Colin Liang <zhongqi.liang.4u@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants