sublime.set_timeout_async runs code in the shared async thread. It's possible for another package to block that thread, preventing other code from running. I've experienced this myself -- another package was blocking the async thread for over a minute, delaying package reloading until it all ran at once later.
This PR runs the reloading code in a new thread instead.
sublime.set_timeout_async
runs code in the shared async thread. It's possible for another package to block that thread, preventing other code from running. I've experienced this myself -- another package was blocking the async thread for over a minute, delaying package reloading until it all ran at once later.This PR runs the reloading code in a new thread instead.