Skip to content

Commit

Permalink
Correct the code change
Browse files Browse the repository at this point in the history
  • Loading branch information
AlastairTaft committed Apr 25, 2024
1 parent bfd114c commit 3f800e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/database/src/core/view/EventRegistration.ts
Expand Up @@ -63,7 +63,7 @@ export class CallbackContext {
this.hasCancelCallback,
'Raising a cancel event on a listener with no cancel callback'
);
return this.cancelCallback.call(error);
this.cancelCallback(error);
}

get hasCancelCallback(): boolean {
Expand Down

0 comments on commit 3f800e5

Please sign in to comment.