Fix for Crash due to System.AccessViolationException when calling OleDBSearch from multiple threads. (#6052)

* Removing non thread safe member variables, as well as the check to ensure that they have been disposed.

* Removing 'ExecuteQuery_ShouldDisposeAllConnections_AfterFunctionCall'.

This call previously required the use of member variables that were not thread safe.   There is no reason to share this state across threads.  Arguably this test verifies an internal implementation detail and is not suitable for a unit test anyway.
This commit is contained in:
ryanbodrug-microsoft
2020-08-19 17:28:19 -07:00
committed by GitHub
parent 64106cba82
commit 2390368d03
3 changed files with 12 additions and 101 deletions

View File

@@ -253,7 +253,6 @@ namespace Microsoft.Plugin.Indexer
{
if (disposing)
{
_search.Dispose();
}
disposedValue = true;