diff --git a/Rx.playground/Sources/SupportCode.swift b/Rx.playground/Sources/SupportCode.swift index 0228d59e..56ef4dc0 100644 --- a/Rx.playground/Sources/SupportCode.swift +++ b/Rx.playground/Sources/SupportCode.swift @@ -25,7 +25,7 @@ public func playgroundShouldContinueIndefinitely() { import XCPlayground public func playgroundShouldContinueIndefinitely() { - XCPSetExecutionShouldContinueIndefinitely(true) + XCPlaygroundPage.currentPage.needsIndefiniteExecution = true } #endif