mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 12:46:46 +00:00
Fix panic during restarting the bridge
This commit is contained in:
@ -208,7 +208,11 @@ func (s *FrontendQt) watchEvents() {
|
||||
s.Qml.ShowWindow()
|
||||
case <-restartBridgeCh:
|
||||
s.Qml.SetIsRestarting(true)
|
||||
s.App.Quit()
|
||||
// watchEvents is started in parallel with the Qt app.
|
||||
// If the event comes too early, app doesn't have to be ready yet.
|
||||
if s.App != nil {
|
||||
s.App.Quit()
|
||||
}
|
||||
case address := <-addressChangedCh:
|
||||
s.Qml.NotifyAddressChanged(address)
|
||||
case address := <-addressChangedLogoutCh:
|
||||
|
||||
@ -9,3 +9,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
||||
### Removed
|
||||
|
||||
### Fixed
|
||||
* GODT-135 Support parameters in SMTP `FROM MAIL` command, such as `BODY=7BIT`, or empty value `FROM MAIL:<>` used by some clients.
|
||||
* GODT-338 GODT-781 GODT-857 GODT-866 Flaky tests.
|
||||
* GODT-773 Replace old dates with birthday of RFC822 to not crash Apple Mail. Original is available under `X-Original-Date` header.
|
||||
* GODT-922 Fix panic during restarting the bridge.
|
||||
|
||||
Reference in New Issue
Block a user