mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
EventEmitter constructor was not being called in many places. It did work due to the EventEmitter3 constructor being empty, but we can't rely on that.
This commit is contained in:
@@ -10,6 +10,7 @@ function TtlItem(value) {
|
||||
}
|
||||
|
||||
function TtlSet(ttl) {
|
||||
EventEmitter.call(this)
|
||||
this.head = null
|
||||
this.tail = null
|
||||
this.mapping = Object.create(null)
|
||||
|
||||
Reference in New Issue
Block a user