Memory leak in Owin.AppBuilderExtensions

后端 未结 4 2178
心在旅途
心在旅途 2020-12-15 05:27

I use OWIN + Microsoft.AspNet.Identity.Owin (v.2.0.0.0) in Web application. I register UserManager/DbContext per web request, as widely recommended:

app.Crea         


        
4条回答
  •  别那么骄傲
    2020-12-15 06:17

    The memory leak in AppBuilderExtensions class has been already fixed in latest version of Microsoft.AspNet.Identity.Owin library (2.2.1).

    I have checked the code by using Reflector and also by putting a breakpoint into Dispose() methods of objects created by AppBuilderExtensions.CreatePerOwinContext().

提交回复
热议问题