[server] If using index-all we can close the CDB

This commit is contained in:
Ciprian Dorin Craciun 2019-08-12 01:40:22 +03:00
parent 427917b44e
commit 55f27a783e

View file

@ -847,6 +847,14 @@ func main_0 () (error) {
} }
} }
if _indexPaths && _indexDataMeta && _indexDataContent {
if _error := _cdbReader.Close (); _error == nil {
_cdbReader = nil
} else {
AbortError (_error, "[d7aa79e1] failed closing archive!")
}
}
_server := & server { _server := & server {
httpServer : nil, httpServer : nil,