Created
January 5, 2018 19:37
-
-
Save blomquisg/3c4b541015c26afe2b95be1b27ab04f1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Provider | |
| -------- | |
| def destroy | |
| managers.each { |m| m.destroy } | |
| super | |
| end | |
| Manager | |
| ------- | |
| def destroy | |
| disable! if enabled? | |
| kill_ems_workers | |
| super | |
| end | |
| Worker | |
| ------ | |
| def kill | |
| Process.kill(9, pid).wait! | |
| destroy | |
| end | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Providers don't have a
disableconcept today. And, we might be moving away from the provider concept as a whole. So, we probably aren't going to add it. Jason, me, Adam, and others need to have a good long discussion on the whole provider/manager concept. We just keep putting it on the back burner.