From 3f90b17eb0013fb7c7e8d9b02c37eba751d77d0f Mon Sep 17 00:00:00 2001 From: Maksim Horbachevsky Date: Fri, 12 Aug 2022 14:38:14 -0400 Subject: [PATCH] Update y-indexeddb.js Remove unused mutext --- src/y-indexeddb.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/y-indexeddb.js b/src/y-indexeddb.js index 68b7b1b..68a8b8a 100644 --- a/src/y-indexeddb.js +++ b/src/y-indexeddb.js @@ -1,6 +1,5 @@ import * as Y from 'yjs' import * as idb from 'lib0/indexeddb.js' -import * as mutex from 'lib0/mutex.js' import { Observable } from 'lib0/observable.js' const customStoreName = 'custom' @@ -54,7 +53,6 @@ export class IndexeddbPersistence extends Observable { super() this.doc = doc this.name = name - this._mux = mutex.createMutex() this._dbref = 0 this._dbsize = 0 this._destroyed = false