A dishwasher comprising: - a wash tub in which the dishes to be washed are placed; - a hydraulic circuit for circulating washing liquid through the wash tub, connectable to an external source of water and having at least a first rotatable spray arm and a second rotatable spray arm arranged in the wash tub to spray the dishes with the washing liquid, a sump which is arranged in the lower section of the wash tub to collect the washing liquid that has been sprayed on the dishes during washing operation, a filter preventing the dirt from getting into the circulation during washing, and a duct for conveying the filtered washing liquid from the sump to the first spray arm and the second spray arm; - a circulation pump arranged on the hydraulic circuit downward of the sump to draw the washing liquid from the sump toward the first and second spray arms (4, 5) through the duct; - a valve arranged on the hydraulic circuit downward of the circulation pump for allowing to selectively deliver the washing liquid to the first spray arm or to the second spray arm; - a control unit connected to the hydraulic circuit, to the circulation pump and to the valve, for controlling their functioning during washing operation; characterized in that the control unit is programmed to command the performance of the following operational steps upon the detection of a functioning problem of the circulation pump deriving from dry run conditions, which occur when the amount of washing liquid drawn by the circulation pump is less than the amount envisaged for the standard functioning conditions of the pump: - increasing the rpm of the circulation pump; - resetting the position of the valve by commanding the valve to be reenergized in order to reach a selected position; and - drawing a further amount of water into the hydraulic circuit from the external source of water. - a wash tub in which the dishes to be washed are placed; - a hydraulic circuit for circulating washing liquid through the wash tub, connectable to an external source of water and having at least a first rotatable spray arm and a second rotatable spray arm arranged in the wash tub to spray the dishes with the washing liquid, a sump which is arranged in the lower section of the wash tub to collect the washing liquid that has been sprayed on the dishes during washing operation, a filter preventing the dirt from getting into the circulation during washing, and a duct for conveying the filtered washing liquid from the sump to the first spray arm and the second spray arm; - a circulation pump arranged on the hydraulic circuit downward of the sump to draw the washing liquid from the sump toward the first and second spray arms (4, 5) through the duct; - a valve arranged on the hydraulic circuit downward of the circulation pump for allowing to selectively deliver the washing liquid to the first spray arm or to the second spray arm; - a control unit connected to the hydraulic circuit, to the circulation pump and to the valve, for controlling their functioning during washing operation; characterized in that the control unit is programmed to command the performance of the following operational steps upon the detection of a functioning problem of the circulation pump deriving from dry run conditions, which occur when the amount of washing liquid drawn by the circulation pump is less than the amount envisaged for the standard functioning conditions of the pump: - increasing the rpm of the circulation pump; - resetting the position of the valve by commanding the valve to be reenergized in order to reach a selected position; and - drawing a further amount of water into the hydraulic circuit from the external source of water. - increasing the rpm of the circulation pump; - resetting the position of the valve by commanding the valve to be reenergized in order to reach a selected position; and - drawing a further amount of water into the hydraulic circuit from the external source of water.