I've heard arguments on both sides of this debate. My opinion is if no one corrects your errors, how do you know if you're speaking correctly? And if you keep speaking incorrectly, your mistakes become a habit. It's much harder to unlearn a bad habit than to learn something correctly in the first place.
However, I would add the caveat, "Everything in moderation." I once had a piano teacher who'd stop me every few seconds to correct errors in my playing. It was a Debussy piece in which the rhythms were syncopated on the upbeat. In layman's terms that means that the beat fell in odd unexpected places. To play it correctly required "feeling" the music. Obviously, when my teacher constantly stopped me before I could get through a single line, it was impossible to get the feel of the music. Likewise, especially when a student is speaking, care should be taken not to interrupt the him/her with corrections.
What I usually do is to let the student speak while I type their errors into a document which I give them after the lesson. I "unshare" my screen so that my typing does not distract him/her. If the error is significant or is one that the student keeps repeating, I will discuss it during the lesson. But if the error is minor or self-explanatory, I just put it in the student's notes for him/her to read it later.