The terminal closes by it owns when an exception were thrown. If no exception throw, the terminal doesn’t close. Looks like it is a bug. Any idea on this?
Could you please share the Studio version and what terminal are you using?