Skip to content

Commit acf7bcf

Browse files
committed
remove notification registry
1 parent fcbef0d commit acf7bcf

File tree

3 files changed

+0
-132
lines changed

3 files changed

+0
-132
lines changed

lib/core/notification_center/notification_registry.tests.ts

Lines changed: 0 additions & 62 deletions
This file was deleted.

lib/core/notification_center/notification_registry.ts

Lines changed: 0 additions & 65 deletions
This file was deleted.

lib/optimizely/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import { ProjectConfigManager } from '../project_config/project_config_manager';
4646
import { createDecisionService, DecisionService, DecisionObj } from '../core/decision_service';
4747
import { getImpressionEvent, getConversionEvent } from '../core/event_builder';
4848
import { buildImpressionEvent, buildConversionEvent } from '../core/event_builder/event_helpers';
49-
import { NotificationRegistry } from '../core/notification_center/notification_registry';
5049
import fns from '../utils/fns';
5150
import { validate } from '../utils/attributes_validator';
5251
import * as eventTagsValidator from '../utils/event_tags_validator';
@@ -1305,10 +1304,6 @@ export default class Optimizely implements Client {
13051304
}
13061305

13071306
this.notificationCenter.clearAllNotificationListeners();
1308-
const sdkKey = this.projectConfigManager.getConfig()?.sdkKey;
1309-
if (sdkKey) {
1310-
NotificationRegistry.removeNotificationCenter(sdkKey);
1311-
}
13121307

13131308
const eventProcessorStoppedPromise = this.eventProcessor.stop();
13141309
if (this.disposeOnUpdate) {

0 commit comments

Comments
 (0)