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

fix: second-instance additionalData parameter #31661

Merged
merged 2 commits into from Nov 4, 2021

Conversation

rzhao271
Copy link
Contributor

@rzhao271 rzhao271 commented Nov 2, 2021

Description of Change

This PR adds more tests to the app.requestSingleInstanceLock second instance -> first instance data flow, since it'll be helpful to have tests running more for that flow before part ii (#31460) gets merged in.

CC @deepak1556

Checklist

Release Notes

Notes: Fixed behaviour on posix when passing lists into app.requestSingleInstanceLock(additionalData) API.

@rzhao271
Copy link
Contributor Author

rzhao271 commented Nov 2, 2021

Looks like arrays don't get passed properly on macOS and Linux. Will look more into it later.

@rzhao271 rzhao271 requested a review from a team as a code owner November 3, 2021 02:09
@rzhao271 rzhao271 changed the title test: second-instance additionalData parameter fix: second-instance additionalData parameter Nov 3, 2021
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Nov 3, 2021
@deepak1556 deepak1556 added semver/patch backwards-compatible bug fixes target/16-x-y labels Nov 3, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Nov 3, 2021
@deepak1556
Copy link
Member

Failing tests are unrelated, merging.

@deepak1556 deepak1556 merged commit 9e0e04d into electron:main Nov 4, 2021
@release-clerk
Copy link

release-clerk bot commented Nov 4, 2021

Release Notes Persisted

Fixed behaviour on posix when passing lists into app.requestSingleInstanceLock(additionalData) API.

@trop
Copy link
Contributor

trop bot commented Nov 4, 2021

I have automatically backported this PR to "16-x-y", please check out #31708

t57ser pushed a commit to t57ser/electron that referenced this pull request Jan 25, 2022
* test: second-instance additionalData parameter

* Fix posix implementation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants