Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Close OAuth BrowserView only if present (#2313)
It seems our OAuth `BrowserView` can be undefined when it's time to close it. Although we're uncertain why, it could be Electron closes it already when loading the redirect URL. Anyway, we can check for its presence before trying to close it and avoid errors.
- Loading branch information