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

This commit is contained in:
Milan Burda 2018-08-27 18:58:47 +02:00 committed by Charles Kerr
parent fd27d75129
commit a08ca9defb
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.