Fabric: Disabling an assert in ComponentDescriptorProviderRegistry
Summary: This temporarily disables an `assert` in `ComponentDescriptorProviderRegistry`. The `assert` only suggests that the call to the class is redundant, so it's safe to just remove it for now. Changelog: [Internal] Fabric-specific internal change. Reviewed By: JoshuaGross, sammy-SC Differential Revision: D18878273 fbshipit-source-id: 007a2c6f62f858126912b7e54a1098e6f4c25a16
This commit is contained in:
Родитель
36d895ce21
Коммит
b1f2c1e2c5
|
@ -14,10 +14,14 @@ void ComponentDescriptorProviderRegistry::add(
|
|||
ComponentDescriptorProvider provider) const {
|
||||
std::unique_lock<better::shared_mutex> lock(mutex_);
|
||||
|
||||
/*
|
||||
// TODO: T57583139
|
||||
The assert is temporarily disabled to reduce the volume of the signal.
|
||||
assert(
|
||||
componentDescriptorProviders_.find(provider.handle) ==
|
||||
componentDescriptorProviders_.end() &&
|
||||
"Attempt to register an already registered ComponentDescriptorProvider.");
|
||||
*/
|
||||
|
||||
if (componentDescriptorProviders_.find(provider.handle) !=
|
||||
componentDescriptorProviders_.end()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче