mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
ircd: Fix client shutdown.
This commit is contained in:
parent
0d393c58dd
commit
e0c0f71754
1 changed files with 1 additions and 1 deletions
|
@ -85,8 +85,8 @@ ircd::client::init::~init()
|
||||||
noexcept
|
noexcept
|
||||||
{
|
{
|
||||||
request.interrupt();
|
request.interrupt();
|
||||||
ctx::yield();
|
|
||||||
disconnect_all();
|
disconnect_all();
|
||||||
|
request.join();
|
||||||
socket_init.reset(nullptr);
|
socket_init.reset(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue