You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keyclock init sometimes does not resolve promise #262
We'll need a bit more information to go on to be able to identify this bug. Can you provide a minimal and reproducible example that includes the minimal set of options that makes the problem reproducible? Please note that Electron is not an officially supported platform, so it might have quirks that cause this problem to manifest.
Please provide any additional details such as logs (console, and network) to see if something is going wrong in the background.
I am definitely a fan of an early return pattern for code readability, but the examples here both have the same exit points, so I don't see how this change should help. Perhaps your product has some instrumentation to allow capturing stack traces? That could give a hint of what is going wrong.
Activity
jonkoops commentedon Feb 6, 2026
We'll need a bit more information to go on to be able to identify this bug. Can you provide a minimal and reproducible example that includes the minimal set of options that makes the problem reproducible? Please note that Electron is not an officially supported platform, so it might have quirks that cause this problem to manifest.
Please provide any additional details such as logs (console, and network) to see if something is going wrong in the background.
oleksiirugik commentedon Feb 6, 2026
@jonkoops
just we do logout => login => logout => login and etc and sometimes it stacks.
I found a place in authSuccess where we have dead promise.
If I change to code below it would never stuck again.
jonkoops commentedon Feb 12, 2026
I am definitely a fan of an early return pattern for code readability, but the examples here both have the same exit points, so I don't see how this change should help. Perhaps your product has some instrumentation to allow capturing stack traces? That could give a hint of what is going wrong.