If you are evaluating some script that has an infinite loop, how to abort the evaluation process.
for example: evaluate some JS buggy in the reverse flow:
QJSEngine engine;
void threadproc() { engine.evaluate("while(1){}"); }
How to give the user the opportunity to interrupt the assessment in the main (GUI) stream.
source share