1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 10:39: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:
Simo Kinnunen 2015-06-02 13:26:43 +09:00
parent 181829b55c
commit d806d4fe54
4 changed files with 5 additions and 0 deletions

View file

@ -28,6 +28,7 @@ module.exports = syrup.serial()
var plugin = Object.create(null)
function FrameProducer(config) {
EventEmitter.call(this)
this.actionQueue = []
this.runningState = FrameProducer.STATE_STOPPED
this.desiredState = new StateQueue()