From a7b0c0c476a745a846d5f7da796630dc2cf47fd3 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 26 Feb 2013 10:36:03 +0100 Subject: [PATCH] use _exit() to cancel a slow query, the normal exit waits for who knows what and we just want out here --- src/qtgui/rclmain_w.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp index 0128288c..9749c112 100644 --- a/src/qtgui/rclmain_w.cpp +++ b/src/qtgui/rclmain_w.cpp @@ -853,7 +853,8 @@ void RclMain::initiateQuery() progress.show(); qApp->processEvents(); if (progress.wasCanceled()) { - fileExit(); + // Just get out of there asap. + _exit(1); } qApp->processEvents();