From f66571e89975cc7387010d21a115956cc13f1d14 Mon Sep 17 00:00:00 2001 From: Richard Alam Date: Fri, 15 Jul 2016 20:03:24 +0000 Subject: [PATCH] Fixes issue 3196 End the breakout rooms when the parent meeting is ended from the API. --- .../src/main/scala/org/bigbluebutton/core/LiveMeeting.scala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/LiveMeeting.scala b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/LiveMeeting.scala index b5b3ab65e1..ced4ccc8d1 100755 --- a/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/LiveMeeting.scala +++ b/akka-bbb-apps/src/main/scala/org/bigbluebutton/core/LiveMeeting.scala @@ -115,6 +115,12 @@ class LiveMeeting(val mProps: MeetingProperties, def handleEndMeeting(msg: EndMeeting) { meetingModel.meetingHasEnded + + /** + * See if this meeting has breakout rooms. If so, we also need to end them. + */ + handleEndAllBreakoutRooms(new EndAllBreakoutRooms(msg.meetingId)) + outGW.send(new MeetingEnded(msg.meetingId, mProps.recorded, mProps.voiceBridge)) outGW.send(new DisconnectAllUsers(msg.meetingId)) }