mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
Enable Auto-Iteration
This commit is contained in:
parent
90231749c4
commit
16da763e5e
1 changed files with 3 additions and 6 deletions
|
|
@ -81,6 +81,7 @@ final class CoreContext: ObservableObject {
|
|||
}
|
||||
|
||||
func initialiseCore() throws {
|
||||
Log.info("Initialising core 0000")
|
||||
#if USE_CRASHLYTICS
|
||||
FirebaseApp.configure()
|
||||
#endif
|
||||
|
|
@ -357,12 +358,8 @@ final class CoreContext: ObservableObject {
|
|||
})
|
||||
self.mCore.addDelegate(delegate: self.mCoreDelegate)
|
||||
|
||||
self.mIterateSuscription = Timer.publish(every: 0.02, on: .main, in: .common)
|
||||
.autoconnect()
|
||||
.receive(on: coreQueue)
|
||||
.sink { _ in
|
||||
self.mCore.iterate()
|
||||
}
|
||||
self.mCore.autoIterateEnabled = true
|
||||
|
||||
try? self.mCore.start()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue