diff --git a/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m b/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m index 44b583817fc..ddd0f701bd4 100644 --- a/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m +++ b/FirebaseRemoteConfig/Sources/FIRRemoteConfig.m @@ -323,11 +323,11 @@ - (void)setCustomSignals:(nullable NSDictionary *)custom // Update only if there are changes. if (![newCustomSignals isEqualToDictionary:self->_settings.customSignals]) { self->_settings.customSignals = newCustomSignals; - if (completionHandler) { - dispatch_async(dispatch_get_main_queue(), ^{ - completionHandler(nil); - }); - } + } + if (completionHandler) { + dispatch_async(dispatch_get_main_queue(), ^{ + completionHandler(nil); + }); } }; dispatch_async(_queue, setCustomSignalsBlock);