Fix Index#sweep().
This commit is contained in:
parent
e14dcd0184
commit
de6cbb0f45
@ -58,7 +58,8 @@ export default class Index {
|
|||||||
collection.removeListener('update', this._onUpdate)
|
collection.removeListener('update', this._onUpdate)
|
||||||
collection.removeListener('remove', this._onRemove)
|
collection.removeListener('remove', this._onRemove)
|
||||||
|
|
||||||
clearObject(this._hashes)
|
clearObject(this._itemsByHash)
|
||||||
|
clearObject(this._keysToHash)
|
||||||
}
|
}
|
||||||
|
|
||||||
// -----------------------------------------------------------------
|
// -----------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user