Fixing null ref exception 82/234082/1
authork.stepaniuk <k.stepaniuk@samsung.com>
Thu, 21 May 2020 12:47:28 +0000 (14:47 +0200)
committerk.stepaniuk <k.stepaniuk@samsung.com>
Thu, 21 May 2020 12:47:28 +0000 (14:47 +0200)
Change-Id: I18e3f2d029984431b6244487d799cd58f6a0235f
Signed-off-by: k.stepaniuk <k.stepaniuk@samsung.com>
TVHome/TVHome/TVHome.cs

index 8afe1a1..1f0a7a9 100755 (executable)
@@ -211,7 +211,7 @@ namespace TVHome
         public void OnAppInstalled(string pkgID)
         {
             DebuggingUtils.Dbg("[[[ App Installed ]]] " + pkgID);
-            AppInstalledListener.Invoke(this, new TVHomeEventArgs()
+            AppInstalledListener?.Invoke(this, new TVHomeEventArgs()
             {
                 arg = pkgID,
             });