Skip to content

Commit

Permalink
Update user_extensions.md (#2162)
Browse files Browse the repository at this point in the history
stop() {
        this.eventBus.removeListenersExtension(this);
    }

Is simply wrong. Changing to 

    stop() {
        this.eventBus.removeListeners(this);
    }

seems to do the trick...
  • Loading branch information
klebom authored Aug 6, 2023
1 parent 5c382a0 commit cc93cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/more/user_extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MyExampleExtension {
* Is called once the extension has to stop
*/
stop() {
this.eventBus.removeListenersExtension(this);
this.eventBus.removeListeners(this);
}
}

Expand Down

0 comments on commit cc93cb6

Please sign in to comment.