[Package-Manager] Fixed code to avoid deadlock in async methods
[platform/core/csapi/tizenfx.git] / Tizen.Applications / Tizen.Applications / Package.cs
index 8b8bf45..f993dd7 100644 (file)
@@ -194,7 +194,7 @@ namespace Tizen.Applications
             {
                 tcs.TrySetException(PackageManagerErrorFactory.GetException(err, "Failed to get total package size info"));
             }
-            return await tcs.Task;
+            return await tcs.Task.ConfigureAwait(false);
         }
 
         // This method assumes that given arguments are already validated and have valid values.