Skip to content

Commit

Permalink
Update y-indexeddb.js
Browse files Browse the repository at this point in the history
Remove unused mutext
  • Loading branch information
fantactuka authored Aug 12, 2022
1 parent b3d05c9 commit 3f90b17
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/y-indexeddb.js
Original file line number Diff line number Diff line change
@@ -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'
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3f90b17

Please sign in to comment.