diff --git a/ClipCMD/App.xaml.cs b/ClipCMD/App.xaml.cs index 7680b24..ee633c2 100644 --- a/ClipCMD/App.xaml.cs +++ b/ClipCMD/App.xaml.cs @@ -8,11 +8,12 @@ namespace ClipCMD; /// public partial class App : Application { + Mutex mutex; protected override void OnStartup(StartupEventArgs e) { const string appName = "ClipCMD"; - _ = new Mutex(true, appName, out bool createdNew); + mutex = new Mutex(true, appName, out bool createdNew); if (!createdNew) {