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

stop double execute on project open #997

Merged
merged 1 commit into from
Nov 6, 2023
Merged

Conversation

Irev-Dev
Copy link
Collaborator

@Irev-Dev Irev-Dev commented Nov 6, 2023

We should not use react listeners like this for executing because we are handling files opening and closing while keeping the stream open and so that open close logic should handle re-executes. Since the x-state migration and moving kcl state inte the kcl-singleton, react listeners should not be involved with triggering re-executions.

Continues some of the work from #897.

Related to #959

Copy link

vercel bot commented Nov 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Nov 6, 2023 1:12am

@Irev-Dev Irev-Dev removed the request for review from franknoirot November 6, 2023 03:33
@Irev-Dev Irev-Dev merged commit ca05699 into main Nov 6, 2023
10 checks passed
@Irev-Dev Irev-Dev deleted the kurt-stop-double-execute branch November 6, 2023 03:33
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

Successfully merging this pull request may close these issues.

1 participant