Well, that’s what I’ve made and found:
I’ve added the debug()
before the flatMap()
to check if it’s ok.
And that’s what we see:
everything is disposed - that’s why onCompleted()
isn’t called.
- I’ve tried to remove the
.disposed(by: disposeBag)
line. - And now we have this:
As you can see we are not disposed before the event is completed (or failed in this case):
I’m not familiar with RxSwift but I’ve found some discussions and decided just to check without dispose.
According to this, I assume the issue is not on the Backendless side but on the RxSwift dispose logic.
Regards,
Olha