Everything goes well on my framework demo util I vendored my framework to our app project which is big, theunsubscribe:_
method that I mentioned in title was called. I searched the whole RxSwift
source code and I found that method is not called anywhere, which was wired.The back trace is shown as below:
What's even stranger is when I rename that unsubscribe
method, it was still called and abstract method calling fatalError
.
My subject is defined as:
private let funcListPipe = ReplaySubject<[FuncItem]?>.create(bufferSize: 1)
And crashing when I send a next element through it:
funcListPipe.onNext(nil)