-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: SCORM 2004 runtime data reset if disconnected on exit #323
base: master
Are you sure you want to change the base?
Conversation
…ta being reset on relaunch if disconnected whilst course widow is closed (fixes #320).
Co-authored-by: Oliver Foster <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I've tested against the original issue and can confirm that it is working as desired. Thank you for looking into this.
Out of curiosity, should cmi.entry state be listed in the console alongside cmi.exit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👀
Waiting for @danielghost to answer @joe-replin 's question before merging. |
Fixes #320.
Fix
finish
is not called during exit. This can occur due to being disconnected, or potentially when used via a mobile app which may not trigger the required window events.