Deadlock in SQLiteConnection.Open() with WPF WeakConnectionPool and STAThread
Issue Overview: Deadlock During Connection Open in WPF with WeakConnectionPool The core problem manifests as a deadlock when attempting to open an SQLite database connection using the WeakConnectionPool in a Windows Presentation Foundation (WPF) application where connections are initialized within a Single-Threaded Apartment (STAThread). The deadlock triggers a contextSwitchDeadlock Managed Debugging Assistant (MDA) alert under…