Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions HelperFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1327,8 +1327,12 @@ function DownloadLatestAlLanguageExtension {
}
}

$mutexName = "DownloadAlLanguageExtension"
$mutex = New-Object System.Threading.Mutex($false, $mutexName)
$mutexName = "Global\DownloadAlLanguageExtension"
$createdNew = $false
$security = New-Object System.Security.AccessControl.MutexSecurity
$rule = New-Object System.Security.AccessControl.MutexAccessRule([System.Security.Principal.SecurityIdentifier]::new([System.Security.Principal.WellKnownSidType]::WorldSid, $null), [System.Security.AccessControl.MutexRights]::FullControl, [System.Security.AccessControl.AccessControlType]::Allow)
$security.AddAccessRule($rule)
$mutex = New-Object System.Threading.Mutex($false, $mutexName, [ref]$createdNew, $security)
try {
try {
if (!$mutex.WaitOne(1000)) {
Expand Down
2 changes: 2 additions & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
6.1.16
Fixed DownloadLatestAlLanguageExtension concurrency mutex exception

6.1.15
Add retry with exponential backoff in DockerDo for transient MCR pull failures caused by Azure Front Door CDN/WAF blocks
New-BcCompilerFolder: Add platformArtifactUrl parameter to allow using a different platform than the one related to artifactUrl (like New-BcContainer)
Add retry with exponential backoff in DockerDo for transient MCR pull failures caused by Azure Front Door CDN/WAF blocks (delays: 5s, 15s, 30s, 60s, 120s)
Add support for framework-dependent AL Language VSIX (flat bin/ layout without platform-specific subdirectories)
Expand Down