Apply 1 suggestion(s) to 1 file(s)
This commit is contained in:
@ -209,7 +209,7 @@ func (s *FrontendQt) watchEvents() {
|
|||||||
case <-restartBridgeCh:
|
case <-restartBridgeCh:
|
||||||
s.Qml.SetIsRestarting(true)
|
s.Qml.SetIsRestarting(true)
|
||||||
// watchEvents is started in parallel with the Qt app.
|
// 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 {
|
if s.App != nil {
|
||||||
s.App.Quit()
|
s.App.Quit()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user