mirror of
https://github.com/matrix-construct/construct
synced 2024-10-02 21:59:02 +02:00
ircd:Ⓜ️:dbs: No need to unref columns anymore.
This commit is contained in:
parent
f77b3aae7e
commit
09a0b345c8
1 changed files with 0 additions and 8 deletions
|
@ -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 = {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue