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

Bugfix wait on start event #7013

Merged
merged 5 commits into from Apr 11, 2017
Merged

Conversation

pvizeli
Copy link
Member

@pvizeli pvizeli commented Apr 10, 2017

Description:

This protect to track new task after we schedule all EVENT_HOMEASSISTANT_START listener task. Otherwise we can block forever there.

I remove also the assert on block_till_done while that is not needed. We support no task track in this function.

@mention-bot
Copy link

@pvizeli, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @fabaff and @jaharkes to be potential reviewers.

@pvizeli pvizeli requested a review from balloob April 10, 2017 06:40
@pvizeli pvizeli added this to the 0.42.3 milestone Apr 10, 2017
@pvizeli
Copy link
Member Author

pvizeli commented Apr 11, 2017

@balloob for me is now okay. It is clean and nice solution. It is also a small cleanup

@balloob balloob merged commit b52cabf into home-assistant:dev Apr 11, 2017
balloob pushed a commit that referenced this pull request Apr 11, 2017
* Bugfix wait on start event

* Paulus sugestion

* Change handling with stop_track_task

* Add new unittests

* Update test_core.py
@balloob balloob mentioned this pull request Apr 11, 2017
@balloob
Copy link
Member

balloob commented Apr 11, 2017

Cherry picked for 0.42.3

@balloob balloob mentioned this pull request Apr 21, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Jul 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants