diff --git a/gui/QT/window/ultragrid_window.cpp b/gui/QT/window/ultragrid_window.cpp index d4b10039d..b433a73c3 100644 --- a/gui/QT/window/ultragrid_window.cpp +++ b/gui/QT/window/ultragrid_window.cpp @@ -205,8 +205,10 @@ void UltragridWindow::outputAvailable(){ void UltragridWindow::start(){ if(process.processId() > 0){ process.terminate(); - if(!process.waitForFinished(1000)) + if(!process.waitForFinished(1000)){ + log.write("UltraGrid process could not be terminated gracefully. Killing...\n"); process.kill(); + } return; } @@ -254,6 +256,7 @@ void UltragridWindow::stopPreview(){ * can be created. Here we wait 0.5s to allow the preview process * exit gracefully. If it is still running after that we kill it */ if(!previewProcess.waitForFinished(500)){ + log.write("Preview could not be terminated gracefully. Killing...\n"); previewProcess.kill(); } }