Index: System.Data.SQLite/SQLiteFunction.cs ================================================================== --- System.Data.SQLite/SQLiteFunction.cs +++ System.Data.SQLite/SQLiteFunction.cs @@ -995,12 +995,17 @@ if (pr == null) continue; SQLiteFunction f = pair.Value; - if ((f == null) || - !UnbindFunction(sqlbase, pr, f, flags)) + if ((f != null) && + UnbindFunction(sqlbase, pr, f, flags)) + { + /* IGNORED */ + sqlbase.Functions.Remove(pr); + } + else { result = false; } } }