In the if condition, IERC20(vaultParams.asset).safeTransfer(msg.sender, vaultState.withdrawPoolAmount) transfers the entire withdrawPoolAmount if the sum of performanceFeeAmount and managementFeeAmount is greater than withdrawPoolAmount.
The function then returns, but the fees (performanceFeeAmount and managementFeeAmount) are not reset to zero in this case. This might leave the fees in an inconsistent state and cause issues in future calls.
Describe the bug
Path: contracts/vaults/restakingDeltaNeutral/Base/BaseDeltaNeutralVault.sol
SafeTransfer Call in Condition: