Since last Windows update, Windows logs off after teamviewer shuts down connection

Since the last Windows update, when I quit my remote session, Windows logs off and I have to log back on when connecting.  This happened in the past, but I can't remember what it took to fix it.