Stability of a continuous-medium reactor