Check referenceCount > 0 in DefaultDrmSession#release()
Also flip DefaultDrmSessionManager#prepare()/release() into guard clauses. Suggestions from review comments on: https://github.com/google/ExoPlayer/commit/316f8a88cdaeff2b1b5d219097b2739ef607b2c4 PiperOrigin-RevId: 320572462
Showing
with
22 additions
and
17 deletions
Please
register
or
sign in
to comment