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

getter/setter for self.is_shutdown() #7

Open
afdaniele opened this issue Aug 28, 2019 · 0 comments
Open

getter/setter for self.is_shutdown() #7

afdaniele opened this issue Aug 28, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@afdaniele
Copy link
Member

In DTROS, we listen for the shutwdown event and then change self.is_shutdown to True, so we only need to check self.is_shutdown(). Also, always use getter and setter functions, do not access variables on self. This means having a var self._is_shutdown and then a function self.is_shutdown() that gives you that value

@afdaniele afdaniele added the enhancement New feature or request label Aug 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants