Closed deathaxe closed 3 years ago
3. drops another ST2 construct which pushed adding/removing
installed_packages
to main thread viaset_timeout()
.
I know almost nothing about Package Control but are you sure that's only needed for ST2 and not some fix for some subtle timing issue?
Yes. It wasn't possible to call API functions from threads in ST2. That's why all those were delegated to main thread this way. I guess that's also the main reason for caching all package control settings in __init__()
.
Rebased that branch, too.
These changes look good, thank you!
package
somepackage_name
as argument names. This PR proposes to usepackage_name
for all of them to make clear a name string is meant.package_file_exists()
calls, which are already handled by the gated methods and thus reduntant.installed_packages
to main thread viaset_timeout()
.