Skip to content

Conversation

@hromojaro
Copy link

This fix reworks the previous change[1] to avoid Tcl_AsyncDelete errors[2] while keeping the memory consumption low, by calling Tcl_Release(interp) only from the thread that owns "interp", instead of only when executed on the main thread.

[1] 301c760
[2] such as "Fatal: Tcl_AsyncDelete: async handler deleted by the wrong thread"

…ase(interp)

This fix reworks the previous change[1] to avoid Tcl_AsyncDelete errors[2] while
keeping the memory consumption low, by calling Tcl_Release(interp) only from the
thread that owns "interp", instead of only when executed on the main thread.

[1] 301c760
[2] such as "Fatal: Tcl_AsyncDelete: async handler deleted by the wrong thread"
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.

2 participants