Made the crash go away only in release builds... hopefully this will help us track the real problem. a=jevering.

This commit is contained in:
gagan%netscape.com 2000-02-24 05:36:52 +00:00
Родитель d86c754b55
Коммит 7cdb864d4a
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -123,7 +123,11 @@ nsHTTPChannel::~nsHTTPChannel()
PR_LOG(gHTTPLog, PR_LOG_ALWAYS,
("Deleting nsHTTPChannel [this=%x].\n", this));
#ifdef NS_DEBUG
NS_RELEASE(mRequest);
#else
NS_IF_RELEASE(mRequest);
#endif
NS_IF_RELEASE(mResponse);
NS_IF_RELEASE(mCachedResponse);