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

Unified Diff: terminator.cc

Issue 5104007: AU: Add unit tests for the Terminator class. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: unnecessary header file Created 10 years, 1 month 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
« no previous file with comments | « terminator.h ('k') | terminator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: terminator.cc
diff --git a/terminator.cc b/terminator.cc
index 1d33e324e86e608e1aa7767337c2a2fb59dc1fc5..9165afb0479bd837c41c031d803dcabc27a808a1 100644
--- a/terminator.cc
+++ b/terminator.cc
@@ -12,6 +12,8 @@ volatile sig_atomic_t Terminator::exit_blocked_ = 0;
volatile sig_atomic_t Terminator::exit_requested_ = 0;
void Terminator::Init() {
+ exit_blocked_ = 0;
+ exit_requested_ = 0;
signal(SIGTERM, HandleSignal);
}
« no previous file with comments | « terminator.h ('k') | terminator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698