Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in DiagramCanvas due to race condition #454

Open
toluwtglobal opened this issue Jun 27, 2024 · 1 comment
Open

Exception in DiagramCanvas due to race condition #454

toluwtglobal opened this issue Jun 27, 2024 · 1 comment

Comments

@toluwtglobal
Copy link

In DiagramCanvas reference error is thrown when un-subcribing from resize event during dispose. This is cause by race conditions as the method is executing synchronously. WE have created a PR for making the execution asynchronous. See PR link below.

#453

@TimJoehnk
Copy link

Hi, I got the same issue, but even with the changes in the pullrequest I sometimes get an exception by the canvas already being disposed when calling ObserveResizes. Checking if the Canvas has been disposed before fixed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants