use a fixed GUID

This commit is contained in:
clowwindy
2014-11-10 03:02:31 +08:00
parent 0461e2ca89
commit 5c2a93e901
+1 -1
View File
@@ -23,7 +23,7 @@ namespace Shadowsocks
[STAThread]
static void Main()
{
using (Mutex mutex = new Mutex(false, "Global\\" + Assembly.GetExecutingAssembly().GetType().GUID.ToString()))
using (Mutex mutex = new Mutex(false, "Global\\" + "71981632-A427-497F-AB91-241CD227EC1F"))
{
if (!mutex.WaitOne(0, false))
{