Closed allain closed 2 years ago
Hello. I was reading the code and realise that it should be removing the event listener for onEvent rather than onError.
https://github.com/paed01/bpmn-engine/blob/fef68c68ab4a0fd24b24be41055d646102813265/index.js#L249
You are absolutely right! Silly mistake.
No problem. Want me to PR?
@allain your version is published. I added some tests to make sure it won't happen again.
Hello. I was reading the code and realise that it should be removing the event listener for onEvent rather than onError.
https://github.com/paed01/bpmn-engine/blob/fef68c68ab4a0fd24b24be41055d646102813265/index.js#L249