Previously, when interpreter.save-session-on-quit was enabled, lldb
would save the session transcript only when running the quit command.
This patch changes that so the transcripts are saved when the debugger
object is destroyed if the setting is enabled.
rdar://72902650
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
/*colors=*/true