-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add real shutdown for event handler and closing the db
Does not crash as often anymore, but: - [ ] delay after waking up / unsuspeding, link2xt said probably because of missing cache - [ ] events are not received by the UI anymore, althrough I sucessfully restarted the handler that the events are printed to the console. - [ ] there is a performance warning because I wait in the main thread for the event thread to finish: "Thread Performance Checker: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_BACKGROUND. Investigate ways to avoid priority inversions" add more logging and add a startio statement but this didn't fix the issue of the broken state on resume add reloadDcContext, seems like this fixed the resume issue do not close db if app is in foreground after fetch
- Loading branch information
1 parent
3a42f66
commit 02b7df1
Showing
3 changed files
with
76 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters