client/New: fix assertion failure in Close()
Caused by a revert accident in commit
f2cdbeace6
Closes https://github.com/MusicPlayerDaemon/MPD/issues/631
This commit is contained in:
parent
f2cdbeace6
commit
c9081a206a
@ -82,6 +82,7 @@ Client::Close() noexcept
|
||||
{
|
||||
partition->instance.client_list->Remove(*this);
|
||||
|
||||
if (FullyBufferedSocket::IsDefined())
|
||||
FullyBufferedSocket::Close();
|
||||
|
||||
FormatInfo(client_domain, "[%u] closed", num);
|
||||
|
Loading…
Reference in New Issue
Block a user