Skip to content
Permalink
Browse files

Merge pull request #8214 from spycrab/hide_updater

UpdaterCommon: Hide Updater before Dolphin quits
  • Loading branch information...
spycrab committed Jun 25, 2019
2 parents d69fb80 + dacba85 commit 769ba43abf3afc0f65dfa610236636e80371d3ca
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/UpdaterCommon/UpdaterCommon.cpp
@@ -496,6 +496,7 @@ void FatalError(const std::string& message)
{
fprintf(log_fp, "%s\n", message.c_str());

UI::SetVisible(true);
UI::Error(message);
UI::Stop();
}
@@ -683,6 +684,7 @@ bool RunUpdater(std::vector<std::string> args)
}

UI::Init();
UI::SetVisible(false);

Options opts = std::move(*maybe_opts);

@@ -707,8 +709,6 @@ bool RunUpdater(std::vector<std::string> args)

if (opts.parent_pid)
{
UI::SetDescription("Waiting for Dolphin to quit...");

fprintf(log_fp, "Waiting for parent PID %d to complete...\n", *opts.parent_pid);

auto pid = opts.parent_pid.value();

0 comments on commit 769ba43

Please sign in to comment.
You can’t perform that action at this time.