mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-17 20:44:29 -04:00
fix(tracker): do not close Broker but rather just close the detector
This commit is contained in:
parent
943073d0cc
commit
94058c2603
@ -265,7 +265,6 @@ func FuzzModel(f *testing.F) {
|
||||
reader := bytes.NewReader(slice)
|
||||
synther := vm.GoSynther{}
|
||||
broker := tracker.NewBroker()
|
||||
defer broker.Close()
|
||||
model, player := tracker.NewModelPlayer(broker, synther, NullContext{}, "")
|
||||
buf := make([][2]float32, 2048)
|
||||
closeChan := make(chan struct{})
|
||||
@ -309,5 +308,6 @@ func FuzzModel(f *testing.F) {
|
||||
}
|
||||
}
|
||||
closeChan <- struct{}{}
|
||||
broker.ToDetector <- tracker.MsgToDetector{Quit: true}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user