Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
d54ca9c5
Commit
d54ca9c5
authored
Aug 09, 2006
by
Simon Marlow
Browse files
fix bug in task freeing
parent
118d0ea5
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Task.c
View file @
d54ca9c5
...
...
@@ -74,7 +74,7 @@ stopTaskManager (void)
tasksRunning
);
ACQUIRE_LOCK
(
&
sched_mutex
);
for
(
task
=
task_free_list
;
task
!=
NULL
;
next
)
{
for
(
task
=
task_free_list
;
task
!=
NULL
;
task
=
next
)
{
next
=
task
->
next
;
stgFree
(
task
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment