Skip to content
Merged
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
2 changes: 1 addition & 1 deletion PSFramework/PSFramework.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
RootModule = 'PSFramework.psm1'

# Version number of this module.
ModuleVersion = '1.13.418'
ModuleVersion = '1.13.419'

# ID used to uniquely identify this module
GUID = '8028b914-132b-431f-baa9-94a6952f21ff'
Expand Down
Binary file modified PSFramework/bin/PSFramework.dll
Binary file not shown.
Binary file modified PSFramework/bin/PSFramework.pdb
Binary file not shown.
4 changes: 4 additions & 0 deletions PSFramework/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## 1.13.419 (2025-11-24)

- Fix: Get-PSFRunspaceLock - Fails to create new runspace lock.

## 1.13.418 (2025-11-17)

- New: Get-PSFRunspaceLock - Create or retrieve a lock object for runspace use.
Expand Down
2 changes: 1 addition & 1 deletion library/PSFramework/Runspace/RunspaceHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public static RunspaceLock GetRunspaceLock(string Name)
{
lock (_Lock)
{
if (null == Locks[Name])
if (!Locks.ContainsKey(Name))
Locks[Name] = new RunspaceLock(Name);
}
return Locks[Name];
Expand Down
Loading