Chromium Code Reviews| Index: remoting/base/stoppable.cc |
| diff --git a/remoting/base/stoppable.cc b/remoting/base/stoppable.cc |
| index 046ac424ac3901612110c24a2e2a68b5bff17924..255abf4ce9d510f939152cc23e967d015971a2d9 100644 |
| --- a/remoting/base/stoppable.cc |
| +++ b/remoting/base/stoppable.cc |
| @@ -18,7 +18,9 @@ Stoppable::Stoppable( |
| } |
| Stoppable::~Stoppable() { |
| - DCHECK_EQ(state_, kStopped); |
| + // Failing this check means that the object implementing |Stoppable| hasn't |
| + // been shutdown correctly. |
|
Wez
2012/08/15 23:22:20
Isn't that implicit in the CHECK itself? You're si
alexeypa (please no reviews)
2012/08/15 23:55:50
I removed the comment.
|
| + CHECK_EQ(state_, kStopped); |
| } |
| void Stoppable::Stop() { |