fixed several consistency issues with y-indexeddb. Implemented support for .close() - a soft replacement for .destroy()

This commit is contained in:
Kevin Jahns
2016-10-31 01:17:24 +01:00
parent 8ab16f4ada
commit f32ff1b613
5 changed files with 40 additions and 18 deletions

View File

@@ -206,7 +206,8 @@ module.exports = function (Y/* :any */) {
yield* this.store.operationAdded(this, {
struct: 'Delete',
target: target.id,
length: targetLength
length: targetLength,
targetParent: target.parent
})
}
// need to gc in the end!