CombineCommunity / CombineExt

CombineExt provides a collection of operators, publishers and utilities for Combine, that are not provided by Apple themselves, but are common in other Reactive Frameworks and standards.
https://combine.community
MIT License
1.72k stars 151 forks source link

Crash in iOS 13.1 & 14.1 when use withLatestFrom method #94

Closed spirit-jsb closed 2 years ago

spirit-jsb commented 3 years ago

when i use withLatestFrom method it will crash app.

could some one help me?

Fatal error: Unexpected state: received completion but do not have subscription: file Combine/Catch.swift, line 279
2021-07-08 18:11:19.869633+0800 Lit Live[31201:239977] Fatal error: Unexpected state: received completion but do not have subscription: file Combine/Catch.swift, line 279
截屏2021-07-08 18 13 09 截屏2021-07-08 18 13 23
spirit-jsb commented 3 years ago

withLatestFrom method receive a optional @Published parameter

spirit-jsb commented 3 years ago

mu,i don't know why buffer(:_) method value is nil...

freak4pc commented 2 years ago

There's a new implementation in 1.5.0, can you try it?

spirit-jsb commented 2 years ago

it's work! THX