3.2.5.30 Receiving an SMB_COM_TREE_DISCONNECT Response
The SMB_COM_TREE_DISCONNECT response MUST be processed as specified in section 3.2.5.1.
If the SMB_COM_TREE_DISCONNECT succeeds, the TID that was indicated in the SMB Header (section 2.2.3.1) of the initial request is no longer valid and MUST be discarded.
The Client MUST traverse the Client.Connection.OpenTable and remove all Opens for which the Client.Open.TreeConnect matches the TID in the request. The client MUST also traverse the Client.Connection.SearchOpenTable and release all SearchOpens for which the Client.SearchOpen.TreeConnect matches the TID in the request. The client MUST also traverse the Client.Connection.TreeConnectTable and remove the TreeConnect for which the Client.TreeConnect matches the TID in the request.