Skip to content

Commit 9b06257

Browse files
bind context
1 parent b204d2c commit 9b06257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AzureAppConfigurationImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ export class AzureAppConfigurationImpl implements AzureAppConfiguration {
353353
throw new Error("Refresh is not enabled for key-values or feature flags.");
354354
}
355355

356-
this.#refreshLock.execute(this.#refreshTasks);
356+
await this.#refreshLock.execute(this.#refreshTasks.bind(this));
357357
}
358358

359359
async #refreshTasks(): Promise<void> {

0 commit comments

Comments
 (0)