Skip to content

Commit

Permalink
Merge pull request #4 from Damon3000s/catch-missing-directory-exception
Browse files Browse the repository at this point in the history
Catch DirectoryNotFoundException
  • Loading branch information
matt-edmondson authored Jan 30, 2025
2 parents afedf51 + 6bd906d commit 53042d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SingleAppInstance/SingleAppInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ internal static bool IsAlreadyRunning()
return true;
}
}
catch (DirectoryNotFoundException)
{
}
catch (FileNotFoundException)
{
}
Expand Down

0 comments on commit 53042d4

Please sign in to comment.