use _exit() to cancel a slow query, the normal exit waits for who knows what and we just want out here
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user