fix: don't crash on tray.setContextMenu(null) (#14331)

This commit is contained in:
trop[bot] 2018-08-27 13:27:41 -07:00 committed by Shelley Vohr
parent 97058837e7
commit c8a21dbb92
4 changed files with 38 additions and 6 deletions

View file

@ -275,7 +275,7 @@ The `position` is only available on Windows, and it is (0, 0) by default.
#### `tray.setContextMenu(menu)`
* `menu` Menu
* `menu` Menu | null
Sets the context menu for this icon.