How can unregister shortcut in Electron?


#1

I register a shortcut with globalShortcut,After using it, I want to unregister it,How can do?