mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
Remove dead code
This commit is contained in:
@@ -121,24 +121,9 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
||||
/// </summary>
|
||||
public async Task RemoveAutoCompleteCacheUriReference(ConnectionSummary summary)
|
||||
{
|
||||
// currently this method is disabled, but we need to reimplement now that the
|
||||
// implementation of the 'cache' has changed.
|
||||
await Task.FromResult(0);
|
||||
// await Task.Run( () =>
|
||||
// {
|
||||
// lock(cachesLock)
|
||||
// {
|
||||
// AutoCompleteCache cache;
|
||||
// if( caches.TryGetValue(summary, out cache) )
|
||||
// {
|
||||
// cache.ReferenceCount--;
|
||||
|
||||
// // Remove unused caches
|
||||
// if( cache.ReferenceCount == 0 )
|
||||
// {
|
||||
// caches.Remove(summary);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user