Skip to content

Commit

Permalink
removed threading:
Browse files Browse the repository at this point in the history
  • Loading branch information
wvabrinskas committed Aug 23, 2017
1 parent 89d627f commit df58818
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Binary file not shown.
11 changes: 5 additions & 6 deletions WVCheckMark/WVCheckMark.swift
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,14 @@ open class WVCheckMark: UIView {
}

fileprivate func clear() {
DispatchQueue.main.async {
if let t = self.layer.sublayers {
for l in t {
if l is CAShapeLayer {
l.removeFromSuperlayer()
}
if let t = self.layer.sublayers {
for l in t {
if l is CAShapeLayer {
l.removeFromSuperlayer()
}
}
}

}

}

0 comments on commit df58818

Please sign in to comment.