summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_url_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/urlmon_url_request.cc')
-rw-r--r--chrome_frame/urlmon_url_request.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_url_request.cc b/chrome_frame/urlmon_url_request.cc
index 11f6ff6..735d3f5 100644
--- a/chrome_frame/urlmon_url_request.cc
+++ b/chrome_frame/urlmon_url_request.cc
@@ -267,7 +267,9 @@ void UrlmonUrlRequest::Stop() {
switch (state) {
case Status::WORKING:
status_.Cancel();
- binding_->Abort();
+ if (binding_) {
+ binding_->Abort();
+ }
break;
case Status::ABORTING: