
As COM_QUIT would terminate the connection, there's no need to initiate the session reset process. Also make sure all buffers are empty before putting the DCB into the pool. Added extra debug assertions for parts of the code that are related to the COM_CHANGE_USER processing.