Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: pass internal flag via IPC message struct for consistency #16490

Merged
merged 1 commit into from Jan 23, 2019

Conversation

miniak
Copy link
Contributor

@miniak miniak commented Jan 22, 2019

Description of Change

Makes the code a bit more robust. The event name ipc-internal-message was duplicated 2x in native code and 2x in JS code before for example.

Follow up to #13940 and #16468.

Note: I am looking into implementing ipcRenderer.sendToHost() in native code to get better performance, similar to ipcRenderer.sendTo() (#14285). This will be done in a separate PR.

Checklist

  • PR description included and stakeholders cc'd
  • npm test passes
  • PR title follows semantic commit guidelines

/cc @MarshallOfSound

Release Notes

Notes: no-notes

@miniak miniak requested a review from a team January 22, 2019 17:14
@miniak miniak force-pushed the miniak/ipc-message-refactoring branch from d9c32b3 to d06663d Compare January 23, 2019 06:45
@miniak miniak force-pushed the miniak/ipc-message-refactoring branch from d06663d to 2d0d5e4 Compare January 23, 2019 08:33
@codebytere codebytere merged commit cc90919 into master Jan 23, 2019
@release-clerk
Copy link

release-clerk bot commented Jan 23, 2019

No Release Notes

@codebytere codebytere deleted the miniak/ipc-message-refactoring branch January 23, 2019 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants