Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

This is not thread local, it is in fact fiber local. #580

Closed
rspec/rspec
#99
@ioquatix

Description

@ioquatix

Thread.current[:__rspec] ||= {}

I suggest introducing an actual thread local variable, e.g.

class Thread
  attr_accessor :rspec_state
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions