Skip to content

Commit

Permalink
fix deadlock on meta onchanged
Browse files Browse the repository at this point in the history
  • Loading branch information
tyohan committed Sep 30, 2024
1 parent fcccc7e commit 4a0778e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (m *Metadata) onChanged(key string, value interface{}) {
defer m.mu.Unlock()

for _, f := range m.onChangedCallbacks {
f(key, value)
go f(key, value)
}
}

Expand Down

0 comments on commit 4a0778e

Please sign in to comment.