Skip to content

Commit

Permalink
incusd/instance/qemu: Remove double lifecycle event
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed Jul 27, 2024
1 parent c2ec0fe commit 65e0dbf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/server/instance/drivers/driver_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -4779,8 +4779,6 @@ func (d *qemu) Stop(stateful bool) error {
return err
}

d.state.Events.SendLifecycle(d.project.Name, lifecycle.InstanceStopped.Event(d, nil))

op.Done(nil)
return nil
}
Expand Down

0 comments on commit 65e0dbf

Please sign in to comment.