mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
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:
committed by
GitHub
parent
64106cba82
commit
2390368d03
@@ -253,7 +253,6 @@ namespace Microsoft.Plugin.Indexer
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
_search.Dispose();
|
||||
}
|
||||
|
||||
disposedValue = true;
|
||||
|
||||
Reference in New Issue
Block a user