Sublime Forum

Any way to execute cleaning code when sublime closes

#1

Hi,

Is there any way to run some plugin code when sublime is about to close?
Im storing some values in a settings file but I dont want them to persist between sublime sessions so I want to remove them when sublime is closing.

Is that posible?

Thanks
A

0 Likes

#2

Maybe try plugin_unloaded, from sublimetext.com/docs/3/api_reference.html?

0 Likes