Fix a global hotkey issues in CMD, which will hang Wox on init.

This commit is contained in:
qianlifeng
2015-01-08 22:49:42 +08:00
parent 288be8dd71
commit 220ac2fa2d
15 changed files with 148 additions and 153 deletions

View File

@@ -100,7 +100,7 @@ namespace Wox.Core.Plugin
PluginPair pair = pluginPair;
ThreadPool.QueueUserWorkItem(o =>
{
using (new Timeit("Init Plugin: " + pair.Metadata.Name))
using (new Timeit(string.Format("Init {0}", pair.Metadata.Name)))
{
pair.Plugin.Init(new PluginInitContext()
{
@@ -109,8 +109,7 @@ namespace Wox.Core.Plugin
API = API
});
}
})
;
});
}
}