mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1550422
- P6. Release object early when error. r=mattwoodrow
No need to keep the object alive. Differential Revision: https://phabricator.services.mozilla.com/D31014 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
ae9b00180b
commit
0176b72a88
@ -67,6 +67,7 @@ bool RDDProcessHost::Launch(StringVector aExtraOpts) {
|
||||
|
||||
if (!GeckoChildProcessHost::AsyncLaunch(aExtraOpts)) {
|
||||
mLaunchPhase = LaunchPhase::Complete;
|
||||
mPrefSerializer = nullptr;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
@ -51,6 +51,7 @@ bool GPUProcessHost::Launch(StringVector aExtraOpts) {
|
||||
|
||||
if (!GeckoChildProcessHost::AsyncLaunch(aExtraOpts)) {
|
||||
mLaunchPhase = LaunchPhase::Complete;
|
||||
mPrefSerializer = nullptr;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user