mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 12:32:55 +00:00
Bug 988878, r=bsmedberg.
This commit is contained in:
parent
2cbac57146
commit
b6f0894382
@ -189,7 +189,8 @@ FatalError(const char* aProtocolName, const char* aMsg,
|
||||
formattedMessage.AppendLiteral("\". Killing child side as a result.");
|
||||
NS_ERROR(formattedMessage.get());
|
||||
|
||||
if (!base::KillProcess(aHandle, base::PROCESS_END_KILLED_BY_USER, false)) {
|
||||
if (aHandle != kInvalidProcessHandle &&
|
||||
!base::KillProcess(aHandle, base::PROCESS_END_KILLED_BY_USER, false)) {
|
||||
NS_ERROR("May have failed to kill child!");
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user