Skip to content

Commit

Permalink
Bug 1092561 - Remove ref cycle in LoginViewController
Browse files Browse the repository at this point in the history
  • Loading branch information
thebnich committed Nov 25, 2014
1 parent 73a4b6e commit b70f3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/Frontend/Login/LoginViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class LoginViewController: UIViewController {

let loginView = view as LoginView

loginView.didClickLogin = {
loginView.didClickLogin = { [unowned self] in
self.accountManager.login(loginView.username, password: loginView.password, { err in
switch err {
case .BadAuth:
Expand Down

0 comments on commit b70f3f3

Please sign in to comment.