Fix compilation error
This commit is contained in:
parent
315cd9d2c8
commit
f081c77422
1 changed files with 1 additions and 1 deletions
|
@ -97,9 +97,9 @@ void AutoUpdater::CheckForUpdates() {
|
|||
}
|
||||
|
||||
void AutoUpdater::QuitAndInstall() {
|
||||
Delegate* delegate = AutoUpdater::GetDelegate();
|
||||
if (g_update_available) {
|
||||
[[g_updater relaunchToInstallUpdate] subscribeError:^(NSError* error) {
|
||||
Delegate* delegate = AutoUpdater::GetDelegate();
|
||||
if (delegate)
|
||||
delegate->OnError(base::SysNSStringToUTF8(error.localizedDescription));
|
||||
}];
|
||||
|
|
Loading…
Reference in a new issue