Index: System.Data.SQLite/SQLite3.cs ================================================================== --- System.Data.SQLite/SQLite3.cs +++ System.Data.SQLite/SQLite3.cs @@ -267,11 +267,18 @@ /// Attempts to interrupt the query currently executing on the associated /// native database connection. /// internal override void Cancel() { - UnsafeNativeMethods.sqlite3_interrupt(_sql); + try + { + // do nothing. + } + finally /* NOTE: Thread.Abort() protection. */ + { + UnsafeNativeMethods.sqlite3_interrupt(_sql); + } } /// /// This function binds a user-defined function to the connection. ///