[Solved]Should I destroy all sub-windows recursively?
Posted: Mon Mar 16, 2009 01:37
Hello, every one.
I have a question on destroying windows. Please help me.
Initially, I created some windows.
But when some event occured, I do not need those windows anymore.
In order to release memory.
Should i recursively call the destroy() methods of every sub-windows,
or just call the destroy() of the root window of the sub-tree?
I have a question on destroying windows. Please help me.
Initially, I created some windows.
But when some event occured, I do not need those windows anymore.
In order to release memory.
Should i recursively call the destroy() methods of every sub-windows,
or just call the destroy() of the root window of the sub-tree?