a=leaf, r=warren. 22322. When FTP loads were stopping, the throbber wasn't. LoadGroup symantics changed when rpotts dropped in new load group stuff a few days ago. We still have throbber start problems, but this at least stops it
git-svn-id: svn://10.0.0.236/trunk@58277 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -363,6 +363,13 @@ NS_IMETHODIMP
|
||||
nsFTPDirListingConv::OnStopRequest(nsIChannel *channel, nsISupports *ctxt,
|
||||
nsresult status, const PRUnichar *errorMsg) {
|
||||
// we don't care about stop. move along...
|
||||
nsCOMPtr<nsILoadGroup> loadgroup;
|
||||
nsresult rv = mPartChannel->GetLoadGroup(getter_AddRefs(loadgroup));
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
if (loadgroup)
|
||||
(void)loadgroup->RemoveChannel(mPartChannel, nsnull, nsnull, nsnull);
|
||||
|
||||
return mFinalListener->OnStopRequest(mPartChannel, ctxt, status, errorMsg);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user