Fix exception after installing from context menu
This commit is contained in:
parent
fcb77b8cd9
commit
6a13d3ef33
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue