Skip to main content

Send figma.on('close') to plugin when closing Figma document while plugin open

  • September 23, 2023
  • 1 reply
  • 322 views

Alex_FG

Send a figma.on('close') message to the current plugin when the Figma document is closed while the plugin inside it is open.

Without this it’s impossible to properly clean up after the plugin in all cases, because when I reopen the document, it still contains my plugin’s helper objects that should have been cleaned up.

1 reply

djv
Figmate
  • Community Support
  • 4774 replies
  • September 26, 2023

Hey there, thank you for the feedback!

We’ll pass this onto our team for consideration.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings