Skip to content

Incorrect shutdownStatsbeat optional parameter handling (TypeError: _this._shutdownStatsbeat is not a function) #1258

Closed

Description

I've bumped into this issue when using react-native-windows.
After a clean project install, I get this error from Sender.ts as I try to run it.

TypeError: _this._shutdownStatsbeat is not a function

After some digging, I found out that the shutdownStatsbeat parameter is optional, however, there is a case when this callback gets called without a check if it exists or not.

This issue needs to be fixed in this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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