Unsubscribe from command on deactivate to avoid double subscription
Unsubscribe from command on deactivate to avoid double subscription

The official guide says that deactivate() is call when the window is
shutting down, but actually it's also called when the package is disabled
in the Settings. So if the package is disabled and then enabled again,
it will subscribe to the command doubly.

https://atom.io/docs/v0.78.0/creating-a-package

yujinakayama/atom-auto-update-packages