1

我发现也发生在我的 WPF 应用程序中。我正在寻找有关使用本机 .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.)

4

0 回答 0