Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: The `TestExecutor` was recently enhanced to install an invalid `AsyncContextMap` when executing `Runnable` tasks to check for tasks which did not properly save/restore the appropriate async context. The invalid map should allow itself to be copied, producing an empty map, for usages which want to initiate a new subscribe operation. Modifications: `copy()` returns a new empty map rather than generating an exception. Result: Now possible to subscribe() within a `Runnable` without providing an `AsyncContextMap`.
- Loading branch information