Skip to content

Commit

Permalink
fix(app): fix sync.WaitGroup invoke
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed Nov 8, 2022
1 parent 9b119db commit 0c8cdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/ui/tray/tray.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (tray *TrayDaemon) onReady() {

func (tray *TrayDaemon) onExit() {
l := do.MustInvoke[*logger.Logger](tray.i)
wg := do.MustInvoke[sync.WaitGroup](tray.i)
wg := do.MustInvoke[*sync.WaitGroup](tray.i)

_ = tray.i.Shutdown()
l.Close()
Expand Down

0 comments on commit 0c8cdf7

Please sign in to comment.