Skip to content

Commit

Permalink
fix: remove extra cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 committed Mar 20, 2024
1 parent db87188 commit 31dfa54
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/hms-video-store/src/common/PluginUsageTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export class PluginUsageTracker {
this.pluginLastAddedAt.delete(name);
}
const finalValue = this.pluginUsage.get(name);
this.cleanup();
return finalValue;
};

Expand Down
1 change: 0 additions & 1 deletion packages/hms-video-store/src/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ export class HMSSdk implements HMSInterface {
private cleanup() {
this.cleanDeviceManagers();
this.eventBus.analytics.unsubscribe(this.sendAnalyticsEvent);
this.pluginUsageTracker?.cleanup();
this.analyticsTimer.cleanup();
DeviceStorageManager.cleanup();
this.playlistManager.cleanup();
Expand Down

0 comments on commit 31dfa54

Please sign in to comment.