Quote Originally Posted by mastupristi View Post
does the destrictor delete both mainLayout and slaveLayout?
Yes. You have to do nothing.