Skip to content

Two instances only calls "onSecondWindow" once #6

@AlooTheAloo

Description

@AlooTheAloo

This might be a technical limitation, but my app sometimes opens 2 or more instances of itself and they all have to "merge" into the main window. The "onSecondWindow" callback gets called only once. The only fix I've found for this is adding a random sleep at the beginning of the app's lifecycle, which is probably some of the worst code I've written in a while.

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