Replace Dispose with Lambda

1. Faster
2. Fix #361
This commit is contained in:
bao-qian
2015-11-04 21:35:04 +00:00
parent 57a06aa122
commit df0f310ddd
6 changed files with 67 additions and 57 deletions

View File

@@ -329,10 +329,10 @@ namespace Wox
private void OnThemeTabSelected()
{
using (new Timeit("theme load"))
Timeit.StopwatchDebug("theme load", () =>
{
var s = Fonts.SystemFontFamilies;
}
});
if (themeTabLoaded) return;