mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-24 05:40:52 +00:00
fix deregister in observer example
This commit is contained in:
parent
7744971a10
commit
3fd08ff606
@ -16,7 +16,7 @@ func (o observer) Register() {
|
||||
}
|
||||
|
||||
func (o observer) Deregister() {
|
||||
o.vm.Register(o)
|
||||
o.vm.Deregister(o)
|
||||
}
|
||||
|
||||
func (o observer) OnUpdate(subject string) {
|
||||
|
Loading…
Reference in New Issue
Block a user