I want to create a routine (after one of my loops) which forces the experiment to end. I do not want it to be conditional, i want it to time out after a ‘thank you’ message.
I currently have a dummy loop around the Thank_you routines to skip those for an if_else statement for branching.
I tried to use core.quit() after each Thank_you routine, instead… but this solution appears to crash the JS version on Pavlovia. I then tried psychoJS.quit(), but still it crashes at the beginning of the routine.
Thanks.