mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
Remove dead code
This commit is contained in:
@@ -121,24 +121,9 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task RemoveAutoCompleteCacheUriReference(ConnectionSummary 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.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>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user