为什么在 CCR 中使用因果关系会导致内存泄漏?
有人有关于使用因果关系的信息吗? 我尝试在我的项目中使用它们,但没有成功,因为它们似乎会导致大量内存负载。
这很不寻常吗?
除了文档中给出的正常(也称为过于简单)示例之外,没有大量有关在 CCR 代码中使用因果关系的信息。
我无法给出任何代码示例,因为我删除了因果关系并用更传统的异常处理替换(尽管在 CCR 中不是传统的!)
Does anyone have information about using Causalities? I have tried unsuccessfully to use these on my project as they appeared to be causing massive memory loads.
Is this unusual?
Beyond the normal (aka overly simple) examples given in the documentation, there isn't a heck of a lot of information about using Causalities in CCR code.
I can't give any code examples per-say as I ripped the Causalities out and replaced with more conventional exception handling (not conventional in CCR though!)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最近才开始研究它们,所以我不能提供太多建议,但我会提供我能提供的:
检查这篇文章 出来。 它表明您希望在添加的范围末尾自动删除因果关系。
I've only recently started looking at them, so I can't offer much advice, but I'll offer what I can:
Check this post out. It suggests that you want to automatically remove the causality at the end of the scope you added it.