From 8f8877b759e7875b51d7b3d396b4fec3e1eae7a4 Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Mon, 19 Aug 2024 17:52:40 +0200 Subject: [PATCH] Reset core scheduler before cancelling meetings --- Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift b/Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift index ef07cd954..3512dc846 100644 --- a/Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift +++ b/Linphone/UI/Main/Meetings/ViewModel/MeetingViewModel.swift @@ -360,7 +360,7 @@ class MeetingViewModel: ObservableObject { func sendMeetingCancelledNotifications(meeting: MeetingModel) { CoreContext.shared.doOnCoreQueue { core in - self.resetConferenceSchedulerAndListeners(core: core) + self.conferenceScheduler = try? core.createConferenceScheduler() self.conferenceScheduler?.cancelConference(conferenceInfo: meeting.confInfo) } }