mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1313202 - Make ClearKey resolve MediaKeySession.closed promise before promise returned by MediaKeySession.close(). r=gerald
MozReview-Commit-ID: KWwN6W07Cba --HG-- extra : rebase_source : 4eb210a5816981a26e9792e3141564e6b235ea20
This commit is contained in:
parent
d76d832b94
commit
04141020eb
@ -301,8 +301,8 @@ ClearKeySessionManager::CloseSession(uint32_t aPromiseId,
|
|||||||
assert(session);
|
assert(session);
|
||||||
|
|
||||||
ClearInMemorySessionData(session);
|
ClearInMemorySessionData(session);
|
||||||
mCallback->ResolvePromise(aPromiseId);
|
|
||||||
mCallback->SessionClosed(aSessionId, aSessionIdLength);
|
mCallback->SessionClosed(aSessionId, aSessionIdLength);
|
||||||
|
mCallback->ResolvePromise(aPromiseId);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user