mirror of https://gitee.com/bigwinds/arangodb
Bug fix 3.3/proper shutdown of throttle (#4250)
This commit is contained in:
parent
3b9a10a5c8
commit
15d21ced0b
|
@ -137,8 +137,6 @@ RocksDBEngine::~RocksDBEngine() {
|
|||
// turn off RocksDBThrottle, and release our pointers to it
|
||||
if (nullptr != _listener.get()) {
|
||||
_listener->StopThread();
|
||||
_listener.reset();
|
||||
_options.listeners.clear();
|
||||
} // if
|
||||
|
||||
delete _db;
|
||||
|
@ -610,8 +608,6 @@ void RocksDBEngine::unprepare() {
|
|||
// turn off RocksDBThrottle, and release our pointers to it
|
||||
if (nullptr != _listener.get()) {
|
||||
_listener->StopThread();
|
||||
_listener.reset();
|
||||
_options.listeners.clear();
|
||||
} // if
|
||||
|
||||
for (rocksdb::ColumnFamilyHandle* h : RocksDBColumnFamily::_allHandles) {
|
||||
|
|
Loading…
Reference in New Issue