Javier Calvarro Nelson
Javier Calvarro Nelson
Parking this here for now, although this is very likely an SDK issue.
@Stanislav-Beresnev thanks for contacting us. @captainsafia do you have any ideas here? We believe this is similar to something you worked on recently.
@mrpmorris I don't think what you are suggesting necessarily solves this problem. There is already OwningComponent which you could use do what you describe (pass down the IServiceProvider it exposes...
> @javiercn I think the problem is that Blazor already has introduced a new idiom. On an API server a Singleton is shared by all users (as with Blazor Server),...
@MariovanZeist This is a proposal that we plan to take over and discuss with the runtime team, we are currently discussing the approaches we can take, but there will need...
> * logging warning that "Transient Disposable" means Scoped so will be handled as such- no change really > * DI container doesn't track any "Transient Disposable" as the caller...
@alexanderfedin that does not solve the problem. The container holds a strong reference to the instances so that it can call Dispose on them when the scope is disposed. A...
> When GC gets invoked, it can dispose of the item if it is referenced only by the weak reference. The GC doesn't call dispose on IDisposable elements. DI containers...