Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always inspect the task-local context when verifying before freeing. (#…
…1462) For some reason, the thread-bound context can become desynchronized from the task-local one. Generally we don't notice this, because we prefix every API call with a call that synchronizes both. Here, however, we explicitly didn't to avoid initializing the state as that was thought to cause the kind of initialization that may have to yield (which is unsupported when done so from a finalizer). However, just creating the task local state shouldn't result in yield, only creating a stream does, like querying `active_state` as was done before #1383.
- Loading branch information