implemented resetAuth

This commit is contained in:
Kevin Jahns
2016-11-21 01:22:15 +01:00
parent 102bef4f92
commit e90f241ae0
4 changed files with 15 additions and 2 deletions

View File

@@ -369,6 +369,9 @@ module.exports = function (Y/* :any */) {
if (this.store.gc1.length > 0 || this.store.gc2.length > 0) {
console.warn('gc should be empty after sync')
}
if (!this.store.gc) {
return
}
yield* this.os.iterate(this, null, null, function * (op) {
if (op.gc) {
delete op.gc