Bug 1470306 - MessagePort unlinked should start the cleanup/close/shutdown procedure of the object, r=smaug

This commit is contained in:
Andrea Marchesini 2018-07-02 12:02:39 +02:00
Родитель 0a78b17573
Коммит 9c86a8b8ee
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -176,9 +176,9 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(MessagePort,
NS_IMPL_CYCLE_COLLECTION_UNLINK(mPostMessageRunnable->mPort);
}
NS_IMPL_CYCLE_COLLECTION_UNLINK(mMessages);
NS_IMPL_CYCLE_COLLECTION_UNLINK(mMessagesForTheOtherPort);
NS_IMPL_CYCLE_COLLECTION_UNLINK(mUnshippedEntangledPort);
tmp->CloseForced();
NS_IMPL_CYCLE_COLLECTION_UNLINK_END
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(MessagePort,