Remove explicit garbage collection.

This commit is contained in:
David Hill 2013-10-26 11:08:23 -04:00 committed by Dave Collins
parent 19880b177e
commit 83b1e74d6c

View file

@ -15,7 +15,6 @@ import (
"github.com/conformal/goleveldb/leveldb/opt"
"github.com/conformal/seelog"
"os"
"runtime"
"sync"
)
@ -548,7 +547,6 @@ func (db *LevelDb) processBatches() error {
}
db.lbatch.Reset()
db.txUpdateMap = map[btcwire.ShaHash]*txUpdateObj{}
runtime.GC()
}
return nil