检测到ReleaseHandleFailed

时间:2013-07-05 14:18:06

标签: c# .net wpf exception

我发现我的WPF应用程序中也发生了this。我正在寻找有关使用本机.NET控件时为何会发生的更多信息;以及如果可能的话如何防止它。是忽略异常的唯一解决方案吗?

完整的异常消息:

ReleaseHandleFailed was detected Message: A SafeHandle or CriticalHandle of type 'BitmapHandle' failed to properly release the handle with value 0x8305193A. 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.)

0 个答案:

没有答案