Skip to content
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

TriggerAutoSaveOnBackground can cause crashes! #22

Open
haochiz opened this issue Apr 8, 2021 · 0 comments
Open

TriggerAutoSaveOnBackground can cause crashes! #22

haochiz opened this issue Apr 8, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@haochiz
Copy link
Collaborator

haochiz commented Apr 8, 2021

This function is executed when the app has been in the background over a specified duration, it saves the note and end audio (if audio running).

However, if the app is on the NoteOverViewPage, a 'System.NullReferenceException' exception is thrown because the current note is 'null', if a note was never opened this exception will cause a crash: "An exception of type 'System.NullReferenceException' occurred in PhenoPad.exe but was not handled in user code".

@haochiz haochiz added the bug Something isn't working label Apr 8, 2021
@haochiz haochiz changed the title TriggerAutoSaveOnBackground can cause crashes TriggerAutoSaveOnBackground can cause crashes! Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant