On 2012-05-14 10:10, Mehrdad wrote:
On Monday, 14 May 2012 at 07:26:27 UTC, Jacob Carlborg wrote:
You always call "display.dispose" at the end of the main function.
Since "dispose" will dispose all of the receiver's children and
"display" is the top level widget, everything will be disposed when
the application exits.

*sigh* I just spent a few posts explaining why you need to clean
things up in the destructor, and then I get a reply telling me to
just manage resources manually, screw automatic garbage
collection. >_<

No, I'm telling you how SWT/DWT works. How "dispose" works in DWT is _not_ the same as doing managing memory manually.

--
/Jacob Carlborg

Reply via email to