Merge pull request #1537 from CosmosOS/quajak-patch-2

Actually close builder if already running
This commit is contained in:
Charles Betros 2020-10-25 10:57:35 -05:00 committed by GitHub
commit c6ece319be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,7 @@ namespace Cosmos.Build.Builder
if (Process.GetProcessesByName("Cosmos.Build.Builder").Skip(1).Any())
{
ShowErrorMessageBox("Cannot run more than 1 instance of builder at the same time!");
Current.Shutdown();
return;
}