Autofac not disposing IDisposable registered with InstancePerHttpRequest

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 yıl önce
Hi AndreyMaz,

first of all congratulations for your great work, impressive architecture!

I found something weird with your implementation of the Dependency Resolver. Somehow IDisposable components registered in Autofac with InstancePerHttpRequest scope are never disposed.

In particoular DbContext dispose method is not called at the end of each request.

Is that by design?

Thank you,
Alessandro
11 yıl önce
Hi,

I haven't looked at this issue yet. I've just created a work item and investigate it later
11 yıl önce
Great,

it could save a bunch of system resources.

Thank you,
AC
11 yıl önce
And here we go. Please see changeset f8c9bf48cbff
11 yıl önce
a.m. wrote:
And here we go. Please see changeset f8c9bf48cbff


Yup, crystal clear!

Thanks,
AC
11 yıl önce
Please also have a look at this forum topic
9 yıl önce
a.m. wrote:
And here we go. Please see changeset f8c9bf48cbff



Hello, the problem is how to solve!Your URL is invalid! ?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.