[server] If using index-all
we can close the CDB
This commit is contained in:
parent
427917b44e
commit
55f27a783e
1 changed files with 8 additions and 0 deletions
|
@ -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 {
|
||||
httpServer : nil,
|
||||
|
|
Loading…
Reference in a new issue