Skip to content

Thread‑Safety of Singleton Client #17

Description

@madmatvey

GasfreeSdk.client returns a process‑wide singleton without thread safety primitives.

Risk: Race conditions when multiple threads configure or mutate the client simultaneously.

Proposed fix: Freeze configuration after initialization or use thread‑local instances.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions