mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update install_worker.cc
This commit is contained in:
parent
3436005943
commit
52c0ae6c60
1 changed files with 1 additions and 0 deletions
|
@ -256,6 +256,7 @@ class ProcessPathPrefixFilter : public base::ProcessFilter {
|
|||
|
||||
// Gracefully closes previous Chrome process in |target_path|.
|
||||
void ClosePreviousChromeProcess(const base::FilePath& target_path) {
|
||||
const wchar_t kChromeExe[] = L"thorium.exe";
|
||||
ProcessPathPrefixFilter target_path_filter(target_path.value());
|
||||
base::CleanupProcesses(installer::kChromeExe, base::TimeDelta(),
|
||||
content::RESULT_CODE_NORMAL_EXIT, &target_path_filter);
|
||||
|
|
Loading…
Reference in a new issue