Fix crash in custom protocols caused by bad callback exec
This commit is contained in:
parent
042f84140d
commit
c2d9e082cb
1 changed files with 3 additions and 1 deletions
|
@ -258,7 +258,9 @@ void URLRequestFetchJob::OnURLFetchComplete(const net::URLFetcher* source) {
|
||||||
HeadersCompleted();
|
HeadersCompleted();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ReadRawDataComplete(0);
|
if (request_->status().is_io_pending()) {
|
||||||
|
ReadRawDataComplete(0);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
NotifyStartError(fetcher_->GetStatus());
|
NotifyStartError(fetcher_->GetStatus());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue