Don't try to free terminalPart.
This will be cleaned up anyway by QDialog::close and creates a race condition between the single shot timer and this code (and crashes on some systems / FreeBSD CI as a consequence)
Please register or sign in to comment