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:
@ -82,6 +82,7 @@ Client::Close() noexcept
|
|||||||
{
|
{
|
||||||
partition->instance.client_list->Remove(*this);
|
partition->instance.client_list->Remove(*this);
|
||||||
|
|
||||||
|
if (FullyBufferedSocket::IsDefined())
|
||||||
FullyBufferedSocket::Close();
|
FullyBufferedSocket::Close();
|
||||||
|
|
||||||
FormatInfo(client_domain, "[%u] closed", num);
|
FormatInfo(client_domain, "[%u] closed", num);
|
||||||
|
Reference in New Issue
Block a user