Skip to content

Commit

Permalink
Fixed erase event
Browse files Browse the repository at this point in the history
  • Loading branch information
QSmally committed Aug 11, 2020
1 parent ef3ff81 commit 93ed08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Connections/Connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ class Connection extends PartialConnection {
if (this._Ready && Keys.length) {
for (const Key of Keys)
this.API.prepare(`DELETE FROM '${this.Table}' WHERE Key = ?;`).run(Key);
this._EventEmmitter.emit("Set", Keys);
this._EventEmmitter.emit("Erase", Keys);
this.Evict(...Keys);
}

Expand Down

0 comments on commit 93ed08b

Please sign in to comment.