Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #1096: App crashes when opening websites. (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
iccub authored and jhreis committed May 20, 2019
1 parent 6927954 commit 179151e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Client/WebFilters/ShieldStats/Adblock/AdBlockStats.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ class AdBlockStats: LocalAdblockResourceProtocol {
}

func shouldBlock(_ request: URLRequest) -> Bool {
// synchronize code from this point on.
objc_sync_enter(self)
defer { objc_sync_exit(self) }

guard let url = request.url else {
return false
}
Expand Down

0 comments on commit 179151e

Please # to comment.