[Package-Manager] Fixed code to avoid deadlock in async methods
[platform/core/csapi/tizenfx.git] / Tizen.Applications / Tizen.Applications / PackageManager.cs
index 4a917c2..31c3bda 100755 (executable)
@@ -223,7 +223,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);
         }
 
         /// <summary>