Browse Source
Merge pull request #1615 from jkoritzinsky/fix-font-intermittent-crash
Fix intermittent test failure introduced by font tests
pull/1618/head
Jeremy Koritzinsky
9 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
tests/Avalonia.Visuals.UnitTests/Media/Fonts/FontFamilyLoaderTests.cs
|
|
|
@ -11,7 +11,7 @@ namespace Avalonia.Visuals.UnitTests.Media.Fonts |
|
|
|
{ |
|
|
|
using System.Diagnostics; |
|
|
|
|
|
|
|
public class FontFamilyLoaderTests |
|
|
|
public class FontFamilyLoaderTests : IDisposable |
|
|
|
{ |
|
|
|
private const string FontName = "#MyFont"; |
|
|
|
private const string Assembly = "?assembly=Avalonia.Visuals.UnitTests"; |
|
|
|
@ -35,7 +35,7 @@ namespace Avalonia.Visuals.UnitTests.Media.Fonts |
|
|
|
_testApplication = StartWithResources(fontAssets); |
|
|
|
} |
|
|
|
|
|
|
|
~FontFamilyLoaderTests() |
|
|
|
public void Dispose() |
|
|
|
{ |
|
|
|
_testApplication.Dispose(); |
|
|
|
} |
|
|
|
|