Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins lifecycle issue #18

Closed
j-barata opened this issue Aug 25, 2020 · 3 comments
Closed

Plugins lifecycle issue #18

j-barata opened this issue Aug 25, 2020 · 3 comments

Comments

@j-barata
Copy link
Contributor

Hello,

I've identified an issue with the management of the plugins lifecycle.

I have three plugins A, B and C. The plugins B and C depends on the plugin A.
Initially, the three plugins A, B and C are started. Then I do the following actions (actions order is important).

  1. A is stopped -> B and C are also stopped (OK)
  2. B is started -> A is also started and C is still stopped (OK)
  3. C is started -> A, B and C are started (OK)
  4. A is stopped -> B and C are still started (NOK : dependent plugins should never be started if one of its dependencies is stopped, unless it's an optional dependency)

I'm not sure if it's a SBP issue or a PF4J issue (?).
This issue can be reprocuded easily, but an existing example already exists here.

@hank-cp
Copy link
Owner

hank-cp commented Aug 26, 2020

It should be a pf4j issue. I have raised a new issue pf4j/pf4j#394.

@hank-cp
Copy link
Owner

hank-cp commented Aug 26, 2020

BTW, nice project:)

@hank-cp
Copy link
Owner

hank-cp commented Jan 10, 2021

fixed by pf4j/pf4j#394

@hank-cp hank-cp closed this as completed Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants