forgot to return, smh
This commit is contained in:
parent
e8717981a2
commit
24179dfb1b
|
@ -38,7 +38,11 @@ namespace EZPPClient_Installer
|
||||||
{
|
{
|
||||||
var alreadyRunning = System.Diagnostics.Process.GetProcessesByName(System.IO.Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetEntryAssembly().Location)).Count() > 1;
|
var alreadyRunning = System.Diagnostics.Process.GetProcessesByName(System.IO.Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetEntryAssembly().Location)).Count() > 1;
|
||||||
if (alreadyRunning)
|
if (alreadyRunning)
|
||||||
|
{
|
||||||
this.Close();
|
this.Close();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Instance = this;
|
Instance = this;
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
Init();
|
Init();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user