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:
parent
d01430e64a
commit
824e3305a4
1 changed files with 3 additions and 1 deletions
|
@ -2410,7 +2410,9 @@ noexcept
|
|||
};
|
||||
#endif
|
||||
|
||||
return defaults.WaitForJoin();
|
||||
assert(st);
|
||||
for(auto &pool : st->pool)
|
||||
pool.join();
|
||||
}
|
||||
|
||||
unsigned int
|
||||
|
|
Loading…
Reference in a new issue