mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
apps/gophers: correct inverted logic
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -189,7 +189,7 @@ func (a *App) run() error {
|
||||
}
|
||||
}
|
||||
case app.ChangeStage:
|
||||
if e.Stage <= app.StagePaused {
|
||||
if e.Stage >= app.StageRunning {
|
||||
if a.ctxCancel == nil {
|
||||
a.ctx, a.ctxCancel = context.WithCancel(context.Background())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user