You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.
PhysicalFilesWatcher holds system resources in its FileSystemWatcher field. But PhysicalFilesWatcher and the (public) PhysicalFileProvider class containing the watcher do not implement IDisposable. System resources are therefore not released until finalization.
The text was updated successfully, but these errors were encountered:
Found this when investigating file system limits hit (aka FileSystemWatcher leaks) doing functional testing w/ DNX Core on Linux. We realized our use of TestServer was a mess for other reasons and moved those tests to use an xUnit fixture. That minimized our TestServer count enough for testing in this environment. But not all PhysicalFileProvider instances are pinned by the server so customers could hit similar issues.
@Tratcher and I discussed the issue back then and I finally got around to filing it.
PhysicalFilesWatcher
holds system resources in itsFileSystemWatcher
field. ButPhysicalFilesWatcher
and the (public
)PhysicalFileProvider
class containing the watcher do not implementIDisposable
. System resources are therefore not released until finalization.The text was updated successfully, but these errors were encountered: