-
Notifications
You must be signed in to change notification settings - Fork 49
Allow to register exit handlers #229
Copy link
Copy link
Closed
Description
In the current code base we already handle the interrupt signals in the virtionet.go file. However we could need to listen to them in other parts of the code (e.g in the ignition part to delete the socket created)
Line 177 in 9adfb53
| func registerExitHandler(handler func()) { |
We should centralize it so that it is possible to register multiple exit handlers that will be executed in one place.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done