You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AircallPhone class adds event listeners to the window object (this.w) upon instantiation here.
However, as far as I can tell there is no way to clean up this listener (and any other side effect that instantiation may cause). Thus, once you load the aircall iframe in your app there is no true way to do a full cleanup once the call flow is over.
It would be great to have some sort of .destroy() method to clean up the client.
Thank you in advance for taking a look!
The text was updated successfully, but these errors were encountered:
The
AircallPhone
class adds event listeners to the window object (this.w
) upon instantiation here.However, as far as I can tell there is no way to clean up this listener (and any other side effect that instantiation may cause). Thus, once you load the aircall iframe in your app there is no true way to do a full cleanup once the call flow is over.
It would be great to have some sort of
.destroy()
method to clean up the client.Thank you in advance for taking a look!
The text was updated successfully, but these errors were encountered: