mirror of https://github.com/prometheus/prometheus
Browse Source
The storage itself should be closed before any of the objects passed into it are closed (otherwise closing the storage can randomly freeze). Defers are executed in reverse order, so closing the storage should be the last of the defer statements. Change-Id: Id920318b876f5b94767ed48c81221b3456770620changes/87/87/1
Julius Volz
11 years ago
1 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue