|
|||||||||
|
Submit Links |
Latest Links
| Login
(want to submit links for DLinks? send a mail to krishnas@javabeat.net)
Don't use finalize() as your only teardown method.submited by krishnas on Sat Aug 11th, 2007 In short, don't rely on the finalize() method as your only cleanup method, especially if it is deleting files. Instead make up a cleanup method (cleanup() works nicely) that lazy deletes things. Here is an example.Topic: java |
|||||||||
|
|||||||||