mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-24 13:50:53 +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() {
|
func (o observer) Deregister() {
|
||||||
o.vm.Register(o)
|
o.vm.Deregister(o)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (o observer) OnUpdate(subject string) {
|
func (o observer) OnUpdate(subject string) {
|
||||||
|
Loading…
Reference in New Issue
Block a user