Chromium Code Reviews| Index: mojo/runner/child_process.cc |
| diff --git a/mojo/runner/child_process.cc b/mojo/runner/child_process.cc |
| index d16c2d7cd9ed157e34fd6ca4bf9093cd96d10c28..74539a28aeb79e080398c81465f83bcaead9c4df 100644 |
| --- a/mojo/runner/child_process.cc |
| +++ b/mojo/runner/child_process.cc |
| @@ -66,7 +66,8 @@ class Blocker { |
| void Block() { |
| DCHECK(run_after_.is_null()); |
| event_.Wait(); |
| - run_after_.Run(); |
| + if (!run_after_.is_null()) |
| + run_after_.Run(); |
| } |
| Unblocker GetUnblocker() { return Unblocker(this); } |