зеркало из https://github.com/mozilla/gecko-dev.git
Bug 637186 - Ignoring return value of SendDeleteSelf in HttpChannelParent::Delete; r=honzab.moz
This commit is contained in:
Родитель
9a835123a2
Коммит
9e7db677a2
|
@ -1,6 +1,5 @@
|
||||||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||||
/* vim: set sw=2 ts=8 et tw=80 : */
|
/* vim: set sw=2 ts=8 et tw=80 : */
|
||||||
|
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
/* ***** BEGIN LICENSE BLOCK *****
|
||||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||||
*
|
*
|
||||||
|
@ -17,7 +16,7 @@
|
||||||
* The Original Code is mozilla.org code.
|
* The Original Code is mozilla.org code.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is
|
* The Initial Developer of the Original Code is
|
||||||
* The Mozilla Foundation
|
* the Mozilla Foundation.
|
||||||
* Portions created by the Initial Developer are Copyright (C) 2009
|
* Portions created by the Initial Developer are Copyright (C) 2009
|
||||||
* the Initial Developer. All Rights Reserved.
|
* the Initial Developer. All Rights Reserved.
|
||||||
*
|
*
|
||||||
|
@ -512,7 +511,7 @@ NS_IMETHODIMP
|
||||||
HttpChannelParent::Delete()
|
HttpChannelParent::Delete()
|
||||||
{
|
{
|
||||||
if (!mIPCClosed)
|
if (!mIPCClosed)
|
||||||
SendDeleteSelf();
|
unused << SendDeleteSelf();
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче