mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-24 12:35:31 +00:00
Merge pull request #1537 from CosmosOS/quajak-patch-2
Actually close builder if already running
This commit is contained in:
commit
c6ece319be
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ namespace Cosmos.Build.Builder
|
||||||
if (Process.GetProcessesByName("Cosmos.Build.Builder").Skip(1).Any())
|
if (Process.GetProcessesByName("Cosmos.Build.Builder").Skip(1).Any())
|
||||||
{
|
{
|
||||||
ShowErrorMessageBox("Cannot run more than 1 instance of builder at the same time!");
|
ShowErrorMessageBox("Cannot run more than 1 instance of builder at the same time!");
|
||||||
|
Current.Shutdown();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue