You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no API to destroy a menubar instance. I'm implementing a feature in my application which will allow the end-users to run their Electron app in a tray or a window, but there is no mechanism to tear-down a menubar.
Steps to Reproduce the Problem
Create a menubar
Destroy Window Reference
Error: Object has been destroyed: at Menubar.<anonymous> (my-app/node_modules/menubar/lib/Menubar.js:311:72)
Expected Behaviour
I'd like for the menubar instance to have a teardown function
Actual Behaviour
There is no API to support this
Specifications
Menubar version: 6.0.8
Platform: Mac
Electron version: 7.1.9
Other information
The text was updated successfully, but these errors were encountered:
Description
There is no API to destroy a menubar instance. I'm implementing a feature in my application which will allow the end-users to run their Electron app in a tray or a window, but there is no mechanism to tear-down a menubar.
Steps to Reproduce the Problem
Error: Object has been destroyed: at Menubar.<anonymous> (my-app/node_modules/menubar/lib/Menubar.js:311:72)
Expected Behaviour
I'd like for the menubar instance to have a teardown function
Actual Behaviour
There is no API to support this
Specifications
Other information
The text was updated successfully, but these errors were encountered: