james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Robert_E_...@Dell.com>
Subject Message.dispose()
Date Thu, 12 Jan 2012 20:42:10 GMT
After reading the comments in MIME4J-72, it is still unclear how this ended up being implemented,
and what users of the API need to do to clean up resources.

So my question is: Do I need to manually traverse the message and dispose of every disposable
object in the message, or only call dispose on the outermost message object itself? Another
words, if I call Message.dispose(), does that recursively clean up all of its constituent
objects, or must I do that?

Thanks,
Rob L

Robert Lee
Software Engineer
Dell | Services Product Group

2401 Greenlawn Blvd.
Mailstop RR 7 - 29
Round Rock, TX 78682

Direct: (512) 513-5916


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message