diff --git a/dist b/dist index 74ed9e41..6599cb20 160000 --- a/dist +++ b/dist @@ -1 +1 @@ -Subproject commit 74ed9e41072acb842d809a40896893801d923627 +Subproject commit 6599cb20b4f40672058962b23ecaf0f99b41a906 diff --git a/package.json b/package.json index 7325ce57..7c6784a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yjs", - "version": "0.8.19", + "version": "0.8.21", "description": "A framework for real-time p2p shared editing on arbitrary complex data types", "main": "./src/y.js", "scripts": { diff --git a/src/Database.js b/src/Database.js index 18da30a5..33b547f7 100644 --- a/src/Database.js +++ b/src/Database.js @@ -179,7 +179,7 @@ module.exports = function (Y /* :any */) { * destroy () { clearInterval(this.gcInterval) this.gcInterval = null - for(var key in this.initializedTypes) { + for (var key in this.initializedTypes) { var type = this.initializedTypes[key] if (type._destroy != null) { type._destroy()