Skip to content

Commit

Permalink
Change sync disposal warning message from efficient -> inefficient
Browse files Browse the repository at this point in the history
  • Loading branch information
alistairjevans committed Apr 7, 2022
1 parent 78c47f5 commit c69da54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Autofac/Core/DisposerResources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Autofac/Core/DisposerResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@
<value>The Disposer object has already been Disposed, so no items can be added to it.</value>
</data>
<data name="TypeOnlyImplementsIAsyncDisposable" xml:space="preserve">
<value>AUTOFAC: A synchronous Dispose has been attempted, but the tracked object of type '{0}' only implements IAsyncDisposable. This will result in an efficient blocking dispose. Consider either implementing IDisposable on '{0}' or disposing of the scope/container with DisposeAsync.</value>
<value>AUTOFAC: A synchronous Dispose has been attempted, but the tracked object of type '{0}' only implements IAsyncDisposable. This will result in an inefficient blocking dispose. Consider either implementing IDisposable on '{0}' or disposing of the scope/container with DisposeAsync.</value>
</data>
</root>

0 comments on commit c69da54

Please sign in to comment.