How to start a external Server from a extension only once? #2479
Unanswered
jogibear9988
asked this question in
Extension Development QnA
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions