http: Oops, fix crash.

Huh, I thought I tested this?
This commit is contained in:
Unknown W. Brackets committed 2016-07-03 22:13:52 -07:00
1 parent 60afdc40b9
commit 41e167f384
1 file changed
+1 -1
+1 -1
View File
@@ -54,7 +54,7 @@ DiskCachingFileLoader::~DiskCachingFileLoader() {
}
bool DiskCachingFileLoader::Exists() {
if (cache_->HasData()) {
if (cache_ && cache_->HasData()) {
// It may require a slow operation to check - if we have data, let's say yes.
// This helps initial load, since we check each recent file for existence.
return true;