The present invention relates to an apparatus or making extracorporeal blood circulation available, in particular a heart-lung machine, comprising a venous connection and an arterial connection, between which a blood reservoir, a blood pump and a bubble detector for the detection of air bubbles are provided, with, downstream of the bubble detector, an arterial line leading to the arterial connection via an arterial clamp and a bypass leading via a bypass clamp back into the blood reservoir which is connected to a pump extracting air from the blood reservoir. In addition, the present invention relates to a method of operating such an apparatus.