Okay, yes, good, fix the crash. ...but what did you expect it to do? This code says "close the database and then finalize the transaction." You can't finalize something via a closed conn.
Okay, yes, good, fix the crash. ...but what did you expect it to do? This code says "close the database and then finalize the transaction." You can't finalize something via a closed conn.