Open Fxlr8 opened 5 years ago
this.tmpArray was not cleaned after every event emission. This caused listeners to leak to the events they don't belong to and crash the app.
By the way, do we really need to store tmpArray globally (this.tmpArray)? Maybe just create an empty local tmpArray every time?
this.tmpArray was not cleaned after every event emission. This caused listeners to leak to the events they don't belong to and crash the app.
By the way, do we really need to store tmpArray globally (this.tmpArray)? Maybe just create an empty local tmpArray every time?