Fix FileSystemWatcher (#733)

* Define EnhancedFileSystemWatcher in class

* d
This commit is contained in:
Stef Heyenrath
2022-03-01 19:45:39 +01:00
committed by GitHub
parent 344f5c8111
commit 6c68033739
3 changed files with 61 additions and 36 deletions

View File

@@ -80,6 +80,7 @@ namespace WireMock.Server
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
protected virtual void Dispose(bool disposing)
{
DisposeEnhancedFileSystemWatcher();
_httpServer?.StopAsync();
}
#endregion