diff options
author | Kirill Osenkov <github@osenkov.com> | 2018-08-15 21:13:16 +0300 |
---|---|---|
committer | Kirill Osenkov <github@osenkov.com> | 2018-08-15 21:13:16 +0300 |
commit | b407d9744a34fd4647cf3e99068a28d728fd65a2 (patch) | |
tree | e6d6cef915f32dec4f2d16b1868045143deb589f /src/Text/Impl/TextSearch/BackgroundSearch.cs | |
parent | cf974b266fb428d846e2e16a25a4eeb8f635c26f (diff) |
Updating to VS-Platform 15.8.519 (29d85337c7d2af248a692fd65ac37b444551e4cf).
Diffstat (limited to 'src/Text/Impl/TextSearch/BackgroundSearch.cs')
-rw-r--r-- | src/Text/Impl/TextSearch/BackgroundSearch.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Impl/TextSearch/BackgroundSearch.cs b/src/Text/Impl/TextSearch/BackgroundSearch.cs index f0e6db9..3bbe3ec 100644 --- a/src/Text/Impl/TextSearch/BackgroundSearch.cs +++ b/src/Text/Impl/TextSearch/BackgroundSearch.cs @@ -25,7 +25,7 @@ namespace Microsoft.VisualStudio.Text.Find.Implementation /// Once we've searched a section of the buffer we don't search it again unless it is modified. /// Even if we get multiple, nearly simultaneous requests to search a section of the buffer, we only search it once. /// </remarks> - internal class BackgroundSearch<T> : IDisposable where T : ITag + internal sealed class BackgroundSearch<T> : IDisposable where T : ITag { private ITextBuffer _buffer; private readonly ITextSearchService2 _textSearchService; @@ -429,6 +429,7 @@ namespace Microsoft.VisualStudio.Text.Find.Implementation public void Dispose() { _isDisposed = true; + GC.SuppressFinalize(this); } #endregion |