Session Close Event and databases

In a Web app that has a Session.DB property (As SQLiteDatabase), should I Nil that property in the Session Close Event? I have been doing this:

If Self.DB <> Nil Then Self.DB.Close

But I’m wondering if I should also be setting Session.DB to Nil to prevent memory leaks.

Found my answer from Greg O’Lone here:

https://forum.xojo.com/13824-best-practice-ending-a-session/0

which is exactly what I’ve been doing.