Commit 9136c7f5 authored by Simon Marlow's avatar Simon Marlow
Browse files

exitScheduler: move boundTaskExiting call outside #ifdef THREADED_RTS

Fixes a little leaked memory at shutdown in non-threaded RTS
parent 86876c30
......@@ -2100,9 +2100,10 @@ exitScheduler(
for (i = 0; i < n_capabilities; i++) {
shutdownCapability(&capabilities[i], task, wait_foreign);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment