commit | 67550240aeb4ba7eec5a59f0c840c65c28dd8ae2 | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sat Jul 19 16:58:19 2014 -0700 |
committer | Brian Silverman <brians> | Sat Jul 19 16:58:19 2014 -0700 |
tree | e9121d14e455c1a6d6eced28957915f610568b09 | |
parent | 8cd51201b1ac6aa6872e7af3469abe80bd63d00f [diff] [blame] |
fixed a bug resulting in occasional starter crashes
diff --git a/aos/linux_code/starter/starter.cc b/aos/linux_code/starter/starter.cc index f0994b9..616bbdb 100644 --- a/aos/linux_code/starter/starter.cc +++ b/aos/linux_code/starter/starter.cc
@@ -138,7 +138,7 @@ void RemoveWatchFromMap() { int watch = watch_to_remove_; if (watch == -1) { - CHECK_NE(watch, -1); + CHECK_NE(watch_, -1); watch = watch_; } if (watchers[watch] != this) {