Bug 1060526 - Call DestroyWindow() in TabChild::ActorDestroy(). r=smaug

This commit is contained in:
Andrew McCreight 2014-09-25 13:01:33 -07:00
parent da0a58f3db
commit 27cfcc7c66

View File

@ -1550,6 +1550,8 @@ TabChild::DestroyWindow()
void
TabChild::ActorDestroy(ActorDestroyReason why)
{
DestroyWindow();
if (mTabChildGlobal) {
// The messageManager relays messages via the TabChild which
// no longer exists.