1
0
Fork 0

Bug fix 3.3/proper shutdown of throttle (#4250)

This commit is contained in:
Jan 2018-01-10 00:08:17 +01:00 committed by GitHub
parent 3b9a10a5c8
commit 15d21ced0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -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) {