Skip to content

Commit

Permalink
Fixing possible double free at shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
hkaiser committed Jan 25, 2018
1 parent 83ab578 commit 834eb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/threads/thread_helpers.cpp
Expand Up @@ -220,7 +220,7 @@ namespace hpx { namespace threads

void reset_continuation_recursion_count()
{
delete continuation_recursion_count.get();
continuation_recursion_count.reset(nullptr);
}

///////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 834eb49

Please sign in to comment.