Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: release resources when shutting down. (#663)
* fix: release resources when shutting down. When the bridge is being closed, resources should be released explicitly. This commit closes down harvesters, which in turn unbinds from the network interface. * fix: release resources when shutting down. When the bridge is being closed, resources should be released explicitly. This commit clears system properties that were set during initialization. * fix: release resources when shutting down. When shutting down, reset healty flag to it's initial state and null the harvester fields. * fix: release resources when shutting down. Add comment that explains why system properties are being cleared.
- Loading branch information
Showing
3 changed files
with
111 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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