How to implement app.willDestroy | Community
Skip to main content

How to implement app.willDestroy

  • June 20, 2023
  • 2 replies
  • 0 views

Hello,

I have submitted an app to the marketplace but there are some blockers. One of which is

  • Seen "setInterval" but not "app.willDestroy"

Can anyone advise how to implement this in my app.

I should mention that there is a post from 2021 that says app.willDestroy is deprecated (see link below). But I have only just received this feedback which mentions the missing app.willDestroy.

Thanks,

Simon.

Thread from 2021:

https://support.zendesk.com/hc/en-us/community/posts/4408860806554-Seen-setTimeout-but-not-app-willDestroy-I-couldn-t-find-an-event-called-willDestroy-in-the-ZAF-documentation-

 

2 replies

  • Author
  • June 21, 2023

Hi @ahmed11

Thanks for the response. Could you tell me how to do this in Javascript?


  • Author
  • June 22, 2023

Hi @ahmed11

Thanks very much for this.

Simon.