Config does not save on atom close


Hello guys!

I’m developing an atom package which needs to disable packages if atom gets closed. I have implemented the deactivate function, so that it works like expected if I’m reloading the window or disable my package manually. deactivate is called when I close atom, but the config set with atom.config.set does not do anything.

If anyone has any ideas how to solve this, I would love to hear them!



Maybe you are encountering this issue. It seems like a fix for this issue is currently scheduled for Atom 1.28


With the merged PR to solve this issue, I’m not able to update the config file on deactivate by design… No good news for me…