fix download plugin

This commit is contained in:
bao-qian
2016-05-14 00:08:57 +01:00
parent 05f23f89ae
commit 67ab979a9b

View File

@@ -113,9 +113,7 @@ namespace Wox.Plugin.PluginManagement
string json; string json;
try try
{ {
var task = Http.Get(pluginSearchUrl + pluginName, context.Proxy); json = Http.Get(pluginSearchUrl + pluginName, context.Proxy).Result;
task.RunSynchronously();
json = task.Result;
} }
catch (WebException e) catch (WebException e)
{ {