зеркало из https://github.com/mozilla/gecko-dev.git
Bug 961802: Plugged leak in getUserMedia Denied code-path. r=jesup
This commit is contained in:
Родитель
24578956df
Коммит
0a07322d17
|
@ -878,6 +878,7 @@ public:
|
||||||
if (NS_IsMainThread()) {
|
if (NS_IsMainThread()) {
|
||||||
// This is safe since we're on main-thread, and the window can only
|
// This is safe since we're on main-thread, and the window can only
|
||||||
// be invalidated from the main-thread (see OnNavigation)
|
// be invalidated from the main-thread (see OnNavigation)
|
||||||
|
nsCOMPtr<nsIDOMGetUserMediaSuccessCallback> success(mSuccess);
|
||||||
nsCOMPtr<nsIDOMGetUserMediaErrorCallback> error(mError);
|
nsCOMPtr<nsIDOMGetUserMediaErrorCallback> error(mError);
|
||||||
error->OnError(aErrorMsg);
|
error->OnError(aErrorMsg);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче