mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 941789 - Protect binderDied() by mutex. r=doublec
--HG-- extra : rebase_source : 9538d1cbc107f597ccc3237fce8da26040707ce6
This commit is contained in:
parent
4abfefb5de
commit
5445383fd3
@ -46,6 +46,7 @@ MediaResourceManagerService::~MediaResourceManagerService()
|
||||
void MediaResourceManagerService::binderDied(const wp<IBinder>& who)
|
||||
{
|
||||
if (who != NULL) {
|
||||
Mutex::Autolock autoLock(mLock);
|
||||
sp<IBinder> binder = who.promote();
|
||||
if (binder != NULL) {
|
||||
cancelClientLocked(binder);
|
||||
|
Loading…
Reference in New Issue
Block a user