From: jongmyeongko Date: Fri, 28 Apr 2017 01:38:55 +0000 (+0900) Subject: Fix the case that RequestHandle isn't disposed X-Git-Tag: submit/trunk/20170823.075128~121^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=34e027ad27ea5a537a4af14ad9b723986c244d51;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Fix the case that RequestHandle isn't disposed RequestHandle isn't necessary when it's used without 'eventCallback' parameter. Change-Id: I9199b971aae494fd4e7fb9ecc1013dc5dc0846d9 Signed-off-by: jongmyeongko --- diff --git a/src/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs b/src/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs index ec645cf..836d3cb 100644 --- a/src/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs +++ b/src/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs @@ -551,6 +551,8 @@ namespace Tizen.Applications RequestHandle.Dispose(); return false; } + // RequestHandle isn't necessary when this method is called without 'eventCallback' parameter. + RequestHandle.Dispose(); } return true; } @@ -666,6 +668,8 @@ namespace Tizen.Applications RequestHandle.Dispose(); return false; } + // RequestHandle isn't necessary when this method is called without 'eventCallback' parameter. + RequestHandle.Dispose(); } return true; } @@ -786,6 +790,8 @@ namespace Tizen.Applications RequestHandle.Dispose(); result = false; } + // RequestHandle isn't necessary when this method is called without 'eventCallback' parameter. + RequestHandle.Dispose(); } return result; }