sharpdx / SharpDX-Samples

Official repository for all SharpDX Samples
346 stars 222 forks source link

Crash: Properly dispose ResourceFontLoader #49

Open Axiverse opened 7 years ago

Axiverse commented 7 years ago

In this code copied to my project, not unregistering causes a crash:

Unhandled exception at 0x00007FFB82883C58 (KernelBase.dll) in Paracosm.Client.exe: 0xC0020001: The string binding is invalid (parameters: 0xFFFFFFFF8007042B).