From a PsychoJS perspective, your study didn’t end at the debriefing screen. It assumes a study ends after the last routine has completed. In your case, this would mean: end the debriefing, for instance, by a response.
PsychoJS occassionaly tries to save your data during the experiment, but it doesn’t try too hard, since this could interfere with the experiment itself. Once the last routine (the debriefing) has ended, it will try to save your data correctly.
-
While it is saving your data, PsychoJS shows a yellow dialog box (saying “Closing the session. Please wait a few moments”)
-
Once it is done, a green dialog box appears with the message “Thank you for your patience.”