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 various race conditions when using terminal windows #1721

Merged
merged 1 commit into from
Mar 19, 2018

Conversation

bhcleek
Copy link
Collaborator

@bhcleek bhcleek commented Mar 19, 2018

  • Explicitly close the terminal window instead of assuming the terminal
    window is the current window and closing that.
  • Eliminate the outstanding job list in favor of using a more object
    oriented like approach.
  • Make sure the correct location list gets used instead of assuming that
    the current window is the window whose location list should be used.

Fixes #1720

* Explicitly close the terminal window instead of assuming the terminal
  window is the current window and closing that.
* Eliminate the outstanding job list in favor of using a more object
  oriented like approach.
* Make sure the correct location list gets used instead of assuming that
  the current window is the window whose location list should be used.

Fixes fatih#1720
@codecov-io
Copy link

codecov-io commented Mar 19, 2018

Codecov Report

Merging #1721 into master will increase coverage by 0.04%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1721      +/-   ##
==========================================
+ Coverage   19.57%   19.62%   +0.04%     
==========================================
  Files          57       57              
  Lines        4787     4775      -12     
==========================================
  Hits          937      937              
+ Misses       3850     3838      -12
Flag Coverage Δ
#nvim 14.99% <0%> (+0.03%) ⬆️
#vim74 17.19% <0%> (+0.04%) ⬆️
#vim80 18.55% <0%> (+0.04%) ⬆️
Impacted Files Coverage Δ
autoload/go/job.vim 0% <ø> (ø) ⬆️
autoload/go/term.vim 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d2b0a23...a265787. Read the comment docs.

@fatih
Copy link
Owner

fatih commented Mar 19, 2018

tested it with nvim. lgtm

@bhcleek bhcleek merged commit f16f546 into fatih:master Mar 19, 2018
@bhcleek bhcleek deleted the fix-terminal-races branch March 19, 2018 20:35
bhcleek added a commit that referenced this pull request Mar 19, 2018
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.

Using :GoRun in terminal mode N times opens N location list windows
3 participants