导出config

This commit is contained in:
banshan
2022-10-30 16:08:22 +08:00
parent 2bac84c571
commit f7393135de
6 changed files with 11 additions and 11 deletions

View File

@@ -16,9 +16,9 @@ type Recorder struct {
}
func (r *Recorder) start() {
recordConfig.recordings.Store(r.ID, r)
RecordPluginConfig.recordings.Store(r.ID, r)
r.PlayRaw()
recordConfig.recordings.Delete(r.ID)
RecordPluginConfig.recordings.Delete(r.ID)
r.Close()
}