Added in more locking/unlocking logic.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user