Bug 1304457 - Ensure that RemoteContentController doesn't try to send any messages after it has sent the Destroy message. r=dvander

MozReview-Commit-ID: 2tEb6nU049R
This commit is contained in:
Kartikaya Gupta
2016-09-21 13:51:21 -04:00
parent b701385044
commit b72d48c379

View File

@@ -213,6 +213,7 @@ void
RemoteContentController::Destroy()
{
if (mCanSend) {
mCanSend = false;
Unused << SendDestroy();
}
}