當一個WPF應用程序closuing一個閃屏,我收到以下錯誤:一個的SafeHandle或類型的CriticalHandle「BitmapHandle」未能正確與價值釋放手柄
Message: A SafeHandle or CriticalHandle of type 'BitmapHandle' failed to properly release the handle with value 0xD0052B9B. This usually indicates that the handle was released incorrectly via another means (such as extracting the handle using DangerousGetHandle and closing it directly or building another SafeHandle around it.)
ReleaseHandleFailed was detected
相關:http://msdn.microsoft.com/en-us/library/85eak4a0(v=vs.110).aspx – GibboK