RxCpp icon indicating copy to clipboard operation
RxCpp copied to clipboard

Segmentation fault in case of using new_thread + current_thread

Open victimsnino opened this issue 2 years ago • 0 comments

Example:

    rxcpp::observable<>::range(1, rxcpp::observe_on_new_thread())
        .delay(std::chrono::seconds(1), rxcpp::identity_current_thread())
        .as_blocking()
        .subscribe([](const auto &v)
                   { std::cout << v << std::endl; },
                   []()
                   { std::cout << "COMPLETED"; });

Crashed near scheduling first emission inside "delay"

victimsnino avatar Dec 06 '22 09:12 victimsnino