Skip to content

[BUG] Data race in SuperwallKit.Superwall.internallyRegister (reported by thread sanitizer) #364

@tkafka

Description

@tkafka

General information

  • Superwall version: 4.8.1
  • iOS version(s): iOS 26
  • CocoaPods/Carthage version (if applicable):
  • Xcode version: Xcode 26
  • Devices/Simulators affected: iOS 26 simulator
  • Reproducible in the demo project? (Yes/No):
  • Related issues:

Describe the bug

When running my app with Thread sanitizer, Xcode reports

Data race in SuperwallKit.Superwall.internallyRegister(placement: Swift.String, params: Swift.Optional<Swift.Dictionary<Swift.String, Any>>, handler: Swift.Optional<SuperwallKit.PaywallPresentationHandler>, feature: Swift.Optional<() -> ()>) -> () at 0x12076edc0

on line

internallyRegister(placement: placement, params: params, handler: handler)

Steps to reproduce

For me it's just running the app with thread sanitizer

Other Information

e.g. stacktraces, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.

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