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
I need a feature to start a external server only once from a extension, but also when the last instance of the extension is deactivated the server needs to be killed.
Problem is, I can share the PID of the server via context.globalState, but I cannot detect in the "deactivate" if it is the last instance, so I know I need to kill the server.
How is this possible?
The text was updated successfully, but these errors were encountered:
I need a feature to start a external server only once from a extension, but also when the last instance of the extension is deactivated the server needs to be killed.
Problem is, I can share the PID of the server via context.globalState, but I cannot detect in the "deactivate" if it is the last instance, so I know I need to kill the server.
How is this possible?
The text was updated successfully, but these errors were encountered: