0
0
Fork 0
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:
Jason Volk 2017-09-19 22:23:49 -07:00
parent 0d393c58dd
commit e0c0f71754

View file

@ -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);
} }