Commit 98e52c65 authored by mvanouwerkerk's avatar mvanouwerkerk Committed by Commit bot

Delete redundant call to ServiceProcess::Teardown.

Currently Teardown is called twice on shutdown.

The ServiceProcess is on the stack. It will call Teardown from its
destructor when ServiceProcessMain returns.

It looks like this redundancy has been there since the service process was first introduced in:
https://codereview.chromium.org/2001009/

Review URL: https://codereview.chromium.org/1242873004

Cr-Commit-Position: refs/heads/master@{#339707}
parent 735c7487
...@@ -42,6 +42,5 @@ int ServiceProcessMain(const content::MainFunctionParams& parameters) { ...@@ -42,6 +42,5 @@ int ServiceProcessMain(const content::MainFunctionParams& parameters) {
} else { } else {
LOG(ERROR) << "Service process failed to initialize"; LOG(ERROR) << "Service process failed to initialize";
} }
service_process.Teardown();
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment