Apply 1 suggestion(s) to 1 file(s)

This commit is contained in:
Michal Horejsek
2020-12-10 12:16:39 +00:00
parent 79465571d7
commit a2d99fa6b7

View File

@ -209,7 +209,7 @@ func (s *FrontendQt) watchEvents() {
case <-restartBridgeCh:
s.Qml.SetIsRestarting(true)
// watchEvents is started in parallel with the Qt app.
// If the event comes too early, app doesn't have to be ready yet.
// If the event comes too early, app might not be ready yet.
if s.App != nil {
s.App.Quit()
}