remove unowned self reference to work around crash

This commit is contained in:
Bob Sun 2017-02-08 18:57:15 +08:00
parent 9cfaeb6d56
commit ff0d0db1ae
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -56,7 +56,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
tableView.addSubview(indicator)
tableView.addSubview(indicatorLable)
DispatchQueue.global(qos: .userInitiated).async { [unowned self] in
DispatchQueue.global(qos: .userInitiated).async {
do {
self.password = try self.passwordEntity!.decrypt()!
} catch {