bug 48292 Releasing cache entry as soon as we are done rather than
waiting until nsHTTPChannel gets deleted, which apparently happens after the next page finishes loading giving rise to all kinds of interesting conditions if the current and next page are same. r=neeti git-svn-id: svn://10.0.0.236/trunk@78398 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1823,6 +1823,10 @@ nsresult nsHTTPChannel::ResponseCompleted(nsIStreamListener *aListener,
|
||||
}
|
||||
}
|
||||
|
||||
// Release the cache entry as soon as we are done. This helps as it can
|
||||
// flush any cache records and do maintenance.
|
||||
mCacheEntry = nsnull;
|
||||
|
||||
//
|
||||
// After the consumer has been notified, remove the channel from its
|
||||
// load group... This will trigger an OnStopRequest from the load group.
|
||||
|
||||
Reference in New Issue
Block a user