Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
fix(kernel/expr, kernel/level): if caching is enabled during finaliza…
Browse files Browse the repository at this point in the history
…tion, these modules would register a finalizer after finalization of the main thread

The deleted lines were not really needed. They were added before we had
the thread finalization code.
  • Loading branch information
leodemoura committed Dec 1, 2016
1 parent ae21a6c commit 52ef172
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/kernel/expr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,6 @@ void initialize_expr() {
}

void finalize_expr() {
enable_expr_caching(false);
delete g_Prop;
delete g_Type1;
delete g_dummy;
Expand Down
1 change: 0 additions & 1 deletion src/kernel/level.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,6 @@ void initialize_level() {
}

void finalize_level() {
enable_level_caching(false);
delete g_level_one;
delete g_level_zero;
}
Expand Down

0 comments on commit 52ef172

Please sign in to comment.