Workaround for Application crashes if Frame with wx.aui.AuiToolBar is Closed

I’ve found workaround for bug when application crashes if it contains AuiToolBar,

It is needed to delete it (del auiToolbar) before calling self.Destroy() of the wx.Frame

Details here: http://trac.wxwidgets.org/ticket/12590#comment:2