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
ST3 freeze when closing files. #208
Comments
How many files were there? I'm not sure why it would block for so long - the reason it freezes(I'm guessing) is that fmt has to be a blocking call so control can't return to the view until it's done otherwise it introduces a race-condition. GS doesn't yet take advantage of any ST3 features so I believe these calls might be blocking the ui |
Sometimes its enough with just a single file. I just closed a single unsaved plain text file and it froze. |
I just pushed an update to the way fetching the cursor position is done. I can't see any more freezes, so I assume it was just bad interaction with the closing view |
I'm on the master branch and I can confirm this still happens consistently for me when issuing (That command basically closes the view from an input panel, but it sets some properties on the view too.) https://github.com/guillermooo/VintageousEx Here's the relevant code: https://github.com/guillermooo/VintageousEx/blob/master/ex_commands.py#L635 |
are you sure it's on the latest version? I can't reproduce it on |
You are right... I've just re-enabled VintageousEx and everything works fine. My problem this morning must have happened before I restarted ST after updating the GoSublime package folder. Sorry about that. |
I haven't seen this issue in a few days so I consider it fixed. Thanks for the quick response! |
Don't know whether the root cause is ST3 or GoSublime, but disabling GoSublime makes the issue go away, although I'd have expected ST3 to not freeze due to a plugin's behavior now with plugin_host.
How to reproduce:
The only way to regain control is to issue
killall plugin_host
and then after a few seconds ST3 unfreezes (but then without any plugins running). The freeze always happen with GoSublime enabled and never happens when it's disabled.ST3 3013 (although happened with 3011 (never upgraded to 3012) too so isn't specific to this version)
OSX 10.8.2
GoSublime r13.02.08-2
The GoSublime error log is empty.
Also reported in the Sublime Text Forums
The text was updated successfully, but these errors were encountered: