-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pull request: Upstream now implements io.Closer.
Merge in DNS/dnsproxy from upstream_closer to master Squashed commit of the following: commit 3ac92bc Author: Andrey Meshkov <am@adguard.com> Date: Mon Oct 17 23:53:22 2022 +0300 fix formatting commit 3c749a8 Author: Andrey Meshkov <am@adguard.com> Date: Mon Oct 17 23:48:04 2022 +0300 Upstream now implements io.Closer. This is rather important because some of the Upstream implementations actually require explicit cleanup. However, there's a lot of old code that is not aware of the fact that Upstream can be cleaned up. In order to make the life easier for the authors, I used runtime.SetFinalizer where possible to guarantee cleanup.
- Loading branch information
Showing
18 changed files
with
351 additions
and
195 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
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
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
Oops, something went wrong.