Added in more locking/unlocking logic.

This commit is contained in:
2026-08-03 22:57:40 -04:00
parent 2b78ac5667
commit de16ac6240
4 changed files with 77 additions and 16 deletions

View File

@@ -16,6 +16,9 @@ public class Playlist
public void Lock()
{
if (IsLocked)
return;
IsLocked = true;
PlaylistUpdatedEventArgs eventArgs = new()
@@ -31,6 +34,9 @@ public class Playlist
public void Unlock()
{
if (IsLocked == false)
return;
IsLocked = false;
PlaylistUpdatedEventArgs eventArgs = new()