Skip to content

Commit

Permalink
fix: await plugins init
Browse files Browse the repository at this point in the history
  • Loading branch information
hdz-666 committed Dec 6, 2024
1 parent 45e6a4b commit 81571c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class HMSAudioPluginsManager {
this.prevAudioNode.disconnect();
}
this.analytics.added(name, this.audioContext!.sampleRate);
await this.analytics.initWithTime(name, async () => plugin.init());
await this.analytics.initWithTime(name, async () => await plugin.init());
this.pluginsMap.set(name, plugin);
await this.processPlugin(plugin);
await this.connectToDestination();
Expand Down

0 comments on commit 81571c4

Please sign in to comment.