| View previous topic :: View next topic |
| Author |
Message |
mobi-doc OOo Enthusiast


Joined: 30 Jan 2007 Posts: 130 Location: Thessaloniki
|
Posted: Sat Mar 17, 2007 8:31 am Post subject: dispose method |
|
|
A lot of UNO services have the dispose() method. I use such services such as connections, statememnts, resultsets, documents,... in OO BASIC.
Is there a general rule of when to dispose (if it is really nesessary) such objects?
Thanks in advance. |
|
| Back to top |
|
 |
Mark B Super User


Joined: 16 Feb 2007 Posts: 852 Location: Lincolnshire, UK
|
Posted: Sun Mar 18, 2007 7:53 am Post subject: |
|
|
Hi
The answer, of course, depends on exactly what you're doing and how much memory you're likely to tie up. However, the easiest rule is - if there's a dispose method then use it.
Mark _________________ Mark B's Articles |
|
| Back to top |
|
 |
|