You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/RxSwiftTests/Anomalies.swift
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -176,4 +176,34 @@ extension AnomaliesTest {
176
176
performSharingOperatorsTest(share: op)
177
177
}
178
178
}
179
+
180
+
func testShareReplayOneInitialEmissionDeadlock(){
181
+
letexp=expectation(description:"`share(replay: 1)` doesn't cause a deadlock in multithreaded environment because it replays with its own lock acquired")
182
+
183
+
letsharedSource=Observable<Void>.create{ observer in
0 commit comments