0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-01 08:18:20 +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()
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)
events = {};
}