Closed deathaxe closed 1 year ago
I am not currently using Package Control 4.0 beta, and I am uncertain how to upgrade to 4.0 beta.
With that said, the issue seems it may not be specific to PC 4 beta. The problem seems that every once in a while view.window()
is not returning a window. This is most likely a race condition with the recent change to use on_activated_async
. Worst case is that we back out that change until we can better ensure this race condition does not happen.
It seems I added the on_activated_async
instead of on_activated
to fix some regression that I am no longer able to reproduce when using just on_activated
. I will remove the on_activated_async
call. Hopefully that will fix the issue.
Closing this with commit https://github.com/facelessuser/ColorHelper/commit/ab7925d0b7935f1b119744e016807b081ab868f5. If this issue persists after the update, or others are discovered, feel free to reopen or open a new issue.
Description
Every here and then ColorHelper throws the following exception - most likely after multiple packages have been upgraded by Package Control. But also saw it in other situations, when quickly closing views (e.g.: while previewing them).
Note: As of Package Control 4.0 packages are re-enabled all together after upgrade. As I haven't checked whether it happens with PC 3.4.1 as well, I am uncertain about any relations. I also don't see any views being opened or closed while upgrading. LSP destroys and creates output panels during upgrading - may those be involved?
Support Info
Steps to Reproduce Issue
(e.g.: LSP and various of its LSP-helper packages, various others should do so, too)