Release 0.8.20

This commit is contained in:
Kevin Jahns 2016-02-16 16:08:54 +01:00
parent da7e67d97d
commit f579a436c7
3 changed files with 3 additions and 3 deletions

2
dist

@ -1 +1 @@
Subproject commit 74ed9e41072acb842d809a40896893801d923627 Subproject commit 6599cb20b4f40672058962b23ecaf0f99b41a906

View File

@ -1,6 +1,6 @@
{ {
"name": "yjs", "name": "yjs",
"version": "0.8.19", "version": "0.8.21",
"description": "A framework for real-time p2p shared editing on arbitrary complex data types", "description": "A framework for real-time p2p shared editing on arbitrary complex data types",
"main": "./src/y.js", "main": "./src/y.js",
"scripts": { "scripts": {

View File

@ -179,7 +179,7 @@ module.exports = function (Y /* :any */) {
* destroy () { * destroy () {
clearInterval(this.gcInterval) clearInterval(this.gcInterval)
this.gcInterval = null this.gcInterval = null
for(var key in this.initializedTypes) { for (var key in this.initializedTypes) {
var type = this.initializedTypes[key] var type = this.initializedTypes[key]
if (type._destroy != null) { if (type._destroy != null) {
type._destroy() type._destroy()