Bug 1081066 Incoming call window stays open forever if the caller closes the window/tab or crashes. r=nperriault

This commit is contained in:
Mark Banner
2014-10-13 09:17:49 +01:00
parent 8a1b29f4bd
commit b40c46d7ff
3 changed files with 44 additions and 2 deletions

View File

@@ -391,7 +391,8 @@ loop.conversation = (function(mozL10n) {
if (progressData.state !== "terminated")
return;
if (progressData.reason === "cancel") {
if (progressData.reason === "cancel" ||
progressData.reason === "closed") {
this._abortIncomingCall();
return;
}