0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-03 09:18:19 +02:00

ircd:Ⓜ️:dbs: No need to unref columns anymore.

This commit is contained in:
Jason Volk 2018-05-04 14:32:18 -07:00
parent f77b3aae7e
commit 09a0b345c8

View file

@ -82,14 +82,6 @@ ircd::m::dbs::init::init(std::string dbopts)
ircd::m::dbs::init::~init() ircd::m::dbs::init::~init()
noexcept noexcept
{ {
// Columns should be unrefed before DB closes
state_node = {};
room_events = {};
room_joined = {};
room_state = {};
for(auto &column : event_column)
column = {};
// Unref DB (should close) // Unref DB (should close)
events = {}; events = {};
} }