0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::db: Implement WaitForJoin() to wait on all ctx pool joins.

This commit is contained in:
Jason Volk 2018-08-23 02:16:44 -07:00
parent d01430e64a
commit 824e3305a4

View file

@ -2410,7 +2410,9 @@ noexcept
};
#endif
return defaults.WaitForJoin();
assert(st);
for(auto &pool : st->pool)
pool.join();
}
unsigned int