recently (last week or two at least) I've noticed MC be extremely slow to shutdown, e.g. when there's a new update to install, looking at the logs it seems to be during DLNA shutdown though I'm not aware of any changes in my network (hard to be sure of this of course). The logs are reams of this type
85736877: 16252: Sharing Plugins: CHTTPListenerWorker::HandleConnection: Finish (87847 ms)
85736908: 9508: General: VSocketReader::Close: Forced close, will do a RST via SO_LINGER timeout of 0
85736908: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: closesocket() closing 4216
85736908: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Closed sucessfully
85736908: 5908: Sharing Plugins: CTCPSocketReader::Read: Read failed: Unknown error (10004) (socket: -1)
85736908: 5908: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736908: 5908: Sharing Plugins: CHTTPListenerWorker::HandleConnection: Finish (87876 ms)
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736939: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736940: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736940: 9508: General: VSocketReader::Close: Forced close, will do a RST via SO_LINGER timeout of 0
85736940: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: shutdown() socket 3292
85736940: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: shutdown() failed, error=10057
85736940: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: closesocket() closing 3292
85736940: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Closed sucessfully
85736940: 9508: General: VSocketReader::Close: Forced close, will do a RST via SO_LINGER timeout of 0
85736940: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: closesocket() closing 2928
85736940: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Closed sucessfully
85736940: 9508: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736940: 10496: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736940: 10496: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
85736940: 10496: General: CReferenceCountedSocket::Close: SOCKET_DEBUG: Close failed. Not open or invalid descriptor
v slow means minutes
if I leave it, it does eventually complete
the issue is that the above blocks the UI, i.e. it freezes, whites out and looks broken
2 things
1) does it really need to cleanly/gracefully shutdown some dlna connections?
2) does it have to block the UI?