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

Provide functionality to hook into shutdown / restart events #2

Closed
fgheysels opened this issue Aug 28, 2021 · 1 comment · Fixed by #3
Closed

Provide functionality to hook into shutdown / restart events #2

fgheysels opened this issue Aug 28, 2021 · 1 comment · Fixed by #3

Comments

@fgheysels
Copy link
Owner

When iotedge restarts a container, we must make sure that the container that is restarted is able to gracefully shutdown/restart.

@fgheysels
Copy link
Owner Author

Find inspiration here: Azure/iotedge#5274

fgheysels added a commit that referenced this issue Sep 7, 2021
Introduce the ShutdownHandler class that enables us to gracefully shutdown a running IoT Edge module.

Inspiration was found here: https://github.com/Azure/iotedge/blob/master/edge-util/src/Microsoft.Azure.Devices.Edge.Util/ShutdownHandler.cs

closes #2
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

Successfully merging a pull request may close this issue.

1 participant