Skip to content

Fix hang when debug adapter finishes executing #69

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 3 commits into from
Dec 11, 2015

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Dec 11, 2015

This change fixes a hang that was caused by the recent refactoring of host
process server implementations. In the debug adapter implementation, the
PowerShellContext was not being disposed at shutdown which was causing the
process to stay open because the associated threads were still alive.
This change adds the necessary ProtocolServer.Shutdown implementation.

@daviwil daviwil force-pushed the daviwil/fix-debug-hang branch 5 times, most recently from f48e105 to 7a474c3 Compare December 11, 2015 20:00
This change fixes a hang that was caused by the recent refactoring of host
process server implementations.  In the debug adapter implementation, the
PowerShellContext was not being disposed at shutdown which was causing the
process to stay open because the associated threads were still alive.
This change adds the necessary ProtocolServer.Shutdown implementation.
@daviwil daviwil force-pushed the daviwil/fix-debug-hang branch from 7a474c3 to 0aebf95 Compare December 11, 2015 20:36
daviwil added a commit that referenced this pull request Dec 11, 2015
Fix hang when debug adapter finishes executing
@daviwil daviwil merged commit 7d864df into master Dec 11, 2015
@daviwil daviwil deleted the daviwil/fix-debug-hang branch February 16, 2016 04:52
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.

2 participants