mirror of https://github.com/prometheus/prometheus
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
parent
18d9d00100
commit
718ad2224b
Loading…
Reference in new issue