summaryrefslogtreecommitdiff
path: root/wizards/source/access2base/Recordset.xba
diff options
context:
space:
mode:
authorJean-Pierre Ledure <jp@ledure.be>2014-08-23 12:12:05 +0200
committerJean-Pierre Ledure <jp@ledure.be>2014-08-23 12:16:53 +0200
commit9e8b930b136b5e6b74aea92863dc9fb2dfd97e9f (patch)
treeaa357c8c7fe8f9c1465dbc8017e5cc6c3a719c44 /wizards/source/access2base/Recordset.xba
parent552f139d2a4785882d68016cbdf2f630c69f6300 (diff)
Dispose() method for all objects
An implicit (Terminate_Class) and an explicit (Dispose) method have been created to stimulate better memory management. Change-Id: I240e5117db6bf0d1fcf268e3ddf6d67e0bc1b8eb
Diffstat (limited to 'wizards/source/access2base/Recordset.xba')
-rw-r--r--wizards/source/access2base/Recordset.xba3
1 files changed, 1 insertions, 2 deletions
diff --git a/wizards/source/access2base/Recordset.xba b/wizards/source/access2base/Recordset.xba
index 1a25e36411fe..144a9f440561 100644
--- a/wizards/source/access2base/Recordset.xba
+++ b/wizards/source/access2base/Recordset.xba
@@ -61,9 +61,8 @@ End Sub &apos; Constructor
REM -----------------------------------------------------------------------------------------------------------------------
Private Sub Class_Terminate()
+ On Local Error Resume Next
mClose()
- Set Statement = Nothing
- Set RowSet = Nothing
End Sub
REM -----------------------------------------------------------------------------------------------------------------------