|
@@ -418,12 +418,14 @@ JitsiConference.prototype.leave = function() {
|
418
|
418
|
|
419
|
419
|
this.room = null;
|
420
|
420
|
|
421
|
|
- return room.leave().catch(() => {
|
|
421
|
+ return room.leave().catch(error => {
|
422
|
422
|
// remove all participants because currently the conference won't
|
423
|
423
|
// be usable anyway. This is done on success automatically by the
|
424
|
424
|
// ChatRoom instance.
|
425
|
425
|
this.getParticipants().forEach(
|
426
|
426
|
participant => this.onMemberLeft(participant.getJid()));
|
|
427
|
+
|
|
428
|
+ throw error;
|
427
|
429
|
});
|
428
|
430
|
}
|
429
|
431
|
|