Skip to content

Respond should send back to sender rather than all windows #106

@eslym

Description

@eslym

respond: (response) => this.#sendToAllWindows(response),

the above line should be respond: (response) => _event.sender.send(ELECTRON_TRPC_CHANNEL, response) rather than send to all windows

otherwise it would have problem when using with multiple windows and there is duplicate id used and this happens frequently

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions