mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-23 12:53:07 +09:00
Issue #unknown, change assignment method in nsThread::SetObserver()
This commit is contained in:
parent
c72a393b93
commit
138137ddea
1 changed files with 2 additions and 1 deletions
|
|
@ -1217,7 +1217,8 @@ nsThread::SetObserver(nsIThreadObserver* aObs)
|
|||
}
|
||||
|
||||
MutexAutoLock lock(mLock);
|
||||
mObserver = aObs;
|
||||
nsCOMPtr<nsIThreadObserver> observer = aObs;
|
||||
mObserver.swap(observer);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue