Renoise V3.2.2 Caught an unhandled fatal exception (Thread: GUI)

After I ran a script which started a jeejah repl in the foreground, Renoise asked me if I wanted to interrupt the script, which I did. Then, as soon as I closed Renoise’s “Scripting Terminal & Editor” window, Renoise crashed with a message saying: “A fatal error or crash occurred (unhandled exception in thread: GUI).”

A full log can be seen here.