diff --git a/LANCommander.Client/Services/LibraryService.cs b/LANCommander.Client/Services/LibraryService.cs index 7640e07b..175e2ea3 100644 --- a/LANCommander.Client/Services/LibraryService.cs +++ b/LANCommander.Client/Services/LibraryService.cs @@ -225,7 +225,9 @@ namespace LANCommander.Client.Services public bool IsRunning(LibraryItem libraryItem) { - return IsRunning(libraryItem.Key); + if (libraryItem != null) + return IsRunning(libraryItem.Key); + return false; } public bool IsRunning(Guid id)