1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Bugfix] Fix Go routine leak (#1149)

This commit is contained in:
Adam Janikowski 2022-10-20 09:25:39 +02:00 committed by GitHub
parent 6dfb485777
commit 94e3dfc8d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View file

@ -11,6 +11,7 @@
- (Feature) Respect ToBeCleanedServers in Agency
- (Improvement) Unify K8S Error Handling
- (Feature) Remove stuck Pods
- (Bugfix) Fix Go routine leak
## [1.2.19](https://github.com/arangodb/kube-arangodb/tree/1.2.19) (2022-10-05)
- (Bugfix) Prevent changes when UID is wrong

View file

@ -29,12 +29,6 @@ func After(duration time.Duration) <-chan time.Time {
defer close(r)
tc := time.NewTimer(duration)
defer func() {
// Cleanup channel
for range tc.C {
}
}()
defer tc.Stop()
r <- <-tc.C