commit | 2033433d222c8c8aa56c94660e8e823dac71f45d | [log] [tgz] |
---|---|---|
author | Alex Vakulenko <avakulenko@google.com> | Tue Dec 08 13:19:49 2015 -0800 |
committer | Alex Vakulenko <avakulenko@google.com> | Tue Dec 08 22:28:02 2015 +0000 |
tree | 4a6beb3f139457be2a7f8bd226e5dd75ab13fbfc | |
parent | f1fa8be44721c3e37e835a0dbd66e777200daf52 [diff] |
Fix a crash when adding a default command handler It is allowed to call ComponentManager::AddCommandHandler with empty component and command name to indicate that we are installing a default command handler. The CHECK() condition should be only verified if a specific command handler is specified. Change-Id: Ib4c0f633e5e4ddc396a4f5030a6ebd4e411f911e Reviewed-on: https://weave-review.googlesource.com/1820 Reviewed-by: Vitaly Buka <vitalybuka@google.com>