fix uncaught BdbQuit
exceptions on ipdb exit
#13668
Merged
BdbQuit
exceptions on ipdb exit
#13668