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

remove register_taskdone_hook #33863

Merged
merged 1 commit into from
Nov 16, 2019
Merged

remove register_taskdone_hook #33863

merged 1 commit into from
Nov 16, 2019

Conversation

JeffBezanson
Copy link
Sponsor Member

We'll want to remove this, so the sooner the better.

#T = Task(() -> close_chnl_on_taskdone(task, c))
#schedulewait(task, T)
register_taskdone_hook(task, tsk -> close_chnl_on_taskdone(tsk, c))
T = Task(() -> close_chnl_on_taskdone(task, c))
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The close_chnl_on_taskdone code had a weird internal structure to work around not being run in a proper task. I think that can be cleaned up now too.

@JeffBezanson JeffBezanson merged commit 917c706 into master Nov 16, 2019
@JeffBezanson JeffBezanson deleted the jb/taskdone_hook branch November 16, 2019 17:45
KristofferC pushed a commit that referenced this pull request Apr 11, 2020
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.

None yet

2 participants