diff --git a/packages/client/src/pizzax.ts b/packages/client/src/pizzax.ts index 543450e070..8ee1e5575c 100644 --- a/packages/client/src/pizzax.ts +++ b/packages/client/src/pizzax.ts @@ -30,7 +30,7 @@ export class Storage { public readonly state = {} as State; public readonly reactiveState = {} as ReactiveState; - // indexedDB保存を重複させないために簡易的にキューイング + // 簡易的にキューイングして占有ロックとする private nextIdbJob: Promise = Promise.resolve(); private addIdbSetJob(job: () => Promise) { const promise = this.nextIdbJob.then(job, e => {