Loaders: Add cancelation to all file loaders.

Mainly, for HTTP which might be stalled trying to connect (especially if
you're not near your PC right now and it's in your recent, for example.)
This commit is contained in:
Unknown W. Brackets committed 2017-12-09 16:47:37 -08:00
1 parent 6e3cb0cd48
commit ee5b68f1fc
11 files changed
+87 -43

No files matched your search

+4
View File
@@ -72,3 +72,7 @@ size_t RetryingFileLoader::ReadAt(s64 absolutePos, size_t bytes, void *data, Fla
return readSize;
}
void RetryingFileLoader::Cancel() {
backend_->Cancel();
}