Fix Index#sweep().

This commit is contained in:
Julien Fontanet 2015-04-29 13:14:12 +02:00
parent e14dcd0184
commit de6cbb0f45

View File

@ -58,7 +58,8 @@ export default class Index {
collection.removeListener('update', this._onUpdate)
collection.removeListener('remove', this._onRemove)
clearObject(this._hashes)
clearObject(this._itemsByHash)
clearObject(this._keysToHash)
}
// -----------------------------------------------------------------