Update changes the order of events.
Now, when view A replaces view B, events will go like next
B.destroy()
A.init()
To do so, we remove direct destructor() calls from the rendering callback
and place the same call just after rendering new UI
( after this point we don't need old view anymore )
Update changes the order of events. Now, when view A replaces view B, events will go like next
To do so, we remove direct destructor() calls from the rendering callback and place the same call just after rendering new UI ( after this point we don't need old view anymore )