Skip to content

Fix ios-device-operations dispose #2662

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

Merged
merged 1 commit into from
Mar 27, 2017

Conversation

TsvetanMilanov
Copy link
Contributor

We need to check if the justlaunch flag is passed before we set the should dispose property to false. If we set it to false unconditionally when we pass justlaunch flag the process will never exit.

Fixes #2654

@TsvetanMilanov TsvetanMilanov added this to the 3.0.0-RC milestone Mar 27, 2017
@TsvetanMilanov TsvetanMilanov self-assigned this Mar 27, 2017
$platformsData: IPlatformsData) {

$platformsData: IPlatformsData,
private $iosDeviceOperations: IIOSDeviceOperations) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this private? It's used only in constructor

@TsvetanMilanov TsvetanMilanov changed the title Fis ios-device-operations dispose Fix ios-device-operations dispose Mar 27, 2017
@TomaNikolov TomaNikolov force-pushed the milanov/fix-ios-device-operations-dispose branch 2 times, most recently from ab8752c to 8af206d Compare March 27, 2017 13:56
We need to check if the justlaunch flag is passed before we set the should dispose property to false. If we set it to false unconditionally when we pass justlaunch flag the process will never exit.
@TsvetanMilanov TsvetanMilanov merged commit cc56ed2 into master Mar 27, 2017
@TsvetanMilanov TsvetanMilanov deleted the milanov/fix-ios-device-operations-dispose branch March 27, 2017 14:31
@hypery2k
Copy link

is this fix going to be back ported to 2.5?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants