Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: remoting/base/stoppable.cc

Issue 10828181: [Chromoting] Moving common logic responsible for launching child processes to WorkerProcessLauncher… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/base/stoppable.cc
diff --git a/remoting/base/stoppable.cc b/remoting/base/stoppable.cc
index 88b3c95ef953cdf9fbe840ab4db168954d745a40..046ac424ac3901612110c24a2e2a68b5bff17924 100644
--- a/remoting/base/stoppable.cc
+++ b/remoting/base/stoppable.cc
@@ -26,8 +26,10 @@ void Stoppable::Stop() {
if (state_ == kRunning) {
state_ = kStopping;
- DoStop();
}
+
+ // DoStop() can be called multiple times.
+ DoStop();
}
void Stoppable::CompleteStopping() {

Powered by Google App Engine
This is Rietveld 408576698