Bug 1212986 - Background ChildImpl should delete its Transport. r=mrbkap

This commit is contained in:
Andrew McCreight 2015-10-14 11:03:47 -07:00
parent 5d0c256296
commit 337686082c

View File

@ -440,6 +440,8 @@ private:
// This class is reference counted.
~ChildImpl()
{
XRE_GetIOMessageLoop()->PostTask(FROM_HERE,
new DeleteTask<Transport>(GetTransport()));
AssertActorDestroyed();
}