-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sending URI to an already running app instance
If there is already a running app instance, trying to initialize logging will fail since the logfile will already be open for writing. Reorder the program startup such that the check for already running instance is done before trying to initialize logging. This also moves the logging initialization after unhandled exception handler is added so that if similar bugs are introduced in future at least the user will get an error message.
- Loading branch information
Showing
2 changed files
with
17 additions
and
16 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