summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome_frame/bho.cc13
1 files changed, 9 insertions, 4 deletions
diff --git a/chrome_frame/bho.cc b/chrome_frame/bho.cc
index 9700b91..f685166 100644
--- a/chrome_frame/bho.cc
+++ b/chrome_frame/bho.cc
@@ -252,10 +252,15 @@ HRESULT Bho::OnHttpEquiv(IBrowserService_OnHttpEquiv_Fn original_httpequiv,
}
}
} else if (done) {
- DLOG(INFO) << "Releasing cached data.";
- NavigationManager* mgr = NavigationManager::GetThreadInstance();
- if (mgr)
- mgr->ReleaseRequestData();
+ if (!CheckForCFNavigation(browser, false)) {
+ DLOG(INFO) << "Releasing cached data.";
+ NavigationManager* mgr = NavigationManager::GetThreadInstance();
+ if (mgr)
+ mgr->ReleaseRequestData();
+ } else {
+ DLOG(INFO) << __FUNCTION__
+ << " not freeing request data - browser tagged";
+ }
}
return original_httpequiv(browser, shell_view, done, in_arg, out_arg);