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

fix: set wait function before spinning off goroutine #42

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

thedadams
Copy link
Collaborator

In special circumstances, the goroutine might finish before the wait function was set, causing a panic.

In special circumstances, the goroutine might finish before the wait
function was set, causing a panic.

Signed-off-by: Donnie Adams <[email protected]>
@thedadams thedadams merged commit 869ee34 into gptscript-ai:main Jun 28, 2024
3 checks passed
@thedadams thedadams deleted the fix-wait-panic branch June 28, 2024 20:25
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