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

[TIMOB-10218] iPhone Simulator sometimes launches twice #2650

Merged
merged 1 commit into from Aug 8, 2012

Conversation

mmorearty
Copy link
Contributor

See TIMOB-10218

(Formerly TC-1108 )

This bug is caused by a race condition: First, iphone/builder.py
launches the iPhone Simulator with a call to subprocess.Popen();
and then, it executes some AppleScript to bring the iPhone Simulator
to the foreground -- but sometimes, the simulator that is being
started by Popen() has not yet fully launched (the process has
probably started, but AppleScript doesn't "know" that yet), so when
AppleScript is told to bring it to the foreground, it launches
another instance of it.
@negupta
Copy link
Contributor

negupta commented Jul 28, 2012

@mmorearty - We need a signed CLA before we review and accept a community PR. Did you sign one?

@mmorearty
Copy link
Contributor Author

@negupta - Yes, I signed a CLA yesterday.

@negupta
Copy link
Contributor

negupta commented Jul 29, 2012

Signed CLA is in place.

@mstepanov
Copy link
Contributor

Code reviewed. APPROVED
FT PASSED

mstepanov pushed a commit that referenced this pull request Aug 8, 2012
[TIMOB-10218] iPhone Simulator sometimes launches twice
@mstepanov mstepanov merged commit 298bd5e into tidev:master Aug 8, 2012
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

3 participants