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:
parent
6dfb485777
commit
94e3dfc8d9
2 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue