mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-22 23:14:59 -04:00
fix(tracker/sequencer): add a way to exit the sequencer loop
This commit is contained in:
@ -21,7 +21,9 @@ func main() {
|
||||
app.Size(unit.Dp(800), unit.Dp(600)),
|
||||
app.Title("Sointu Tracker"),
|
||||
)
|
||||
if err := tracker.New(plr).Run(w); err != nil {
|
||||
t := tracker.New(plr)
|
||||
defer t.Close()
|
||||
if err := t.Run(w); err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user