Skip to content

Commit

Permalink
Remove task cancellation code
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanKaul committed Jun 20, 2023
1 parent 002731b commit 5376206
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ void AdBlockFiltersProviderManager::LoadDATBufferForEngine(
bool is_for_default_engine,
base::OnceCallback<void(bool deserialize, const DATFileDataBuffer& dat_buf)>
cb) {
if (task_tracker_.HasTrackedTasks()) {
// There's already an in-progress load, cancel it.
task_tracker_.TryCancelAll();
}
auto& filters_providers = is_for_default_engine
? default_engine_filters_providers_
: additional_engine_filters_providers_;
Expand Down

0 comments on commit 5376206

Please sign in to comment.