Skip to content

Commit

Permalink
Issues #21 One instance application
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderPro committed May 26, 2024
1 parent 5fb4c9a commit 85643a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SmartContextMenu/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ namespace SmartContextMenu
{
static class Program
{
private static Mutex _mutex;

/// <summary>
/// The main entry point for the application.
/// </summary>
Expand Down Expand Up @@ -55,7 +57,7 @@ static void Main(string[] args)
}


var mutex = new Mutex(false, AssemblyUtils.AssemblyTitle, out var createNew);
_mutex = new Mutex(false, AssemblyUtils.AssemblyTitle, out var createNew);
if (!createNew)
{
return;
Expand Down

0 comments on commit 85643a8

Please sign in to comment.