mike-north / ember-resize

Respond to window and view resizing easily in Ember.js
http://mike.works/ember-resize
MIT License
83 stars 42 forks source link

Ember 3.12, error, remove a not existing function listener #316

Open romgere opened 4 years ago

romgere commented 4 years ago

On ember 3.12, on acceptance test we encountered the error below :

You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added.

The error is throwed by the resize-aware mixin inside the willDestroyElement method when trying to remove the didResize and/or debouncedDidResize listener.