Wonsik Kim
e37ef4bc92
media: fix race condition on async release
Clear Java object state at releaseAsync(), and delete native object
upon async release complete.
Clearing CodecBase object only led to a rare race condition which
caused null pointer dereference.
Bug: 158501286
Test: atest CtsMediaTestCases:MediaCodecTest#testAsyncRelease (100 times)
Test: atest CtsMediaTestCases:MediaCodecCapabilitiesTest#testGetMaxSupportedInstances
Test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small
Change-Id: I691d39007c0ea770318f4038558ad338252bd2fb
2020-06-19 13:04:02 -07:00
..
2020-06-12 21:01:56 +09:00
2020-06-19 13:04:02 -07:00
2020-04-20 10:42:58 -04:00
2020-02-19 16:37:42 +00:00
2020-05-04 23:54:25 +00:00
2020-06-11 01:10:25 +00:00
2020-04-13 13:00:47 +09:00
2020-04-10 00:32:43 -07:00
2020-01-26 15:47:02 -08:00