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.
From my understanding, the willDestroyElement is called without a call to didInsertElement.
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 thewillDestroyElement
method when trying to remove thedidResize
and/ordebouncedDidResize
listener. From my understanding, thewillDestroyElement
is called without a call todidInsertElement
.This PR aim to fix this.
Related to #316