Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created May 14, 2015 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/219169639acd3cb91890 to your computer and use it in GitHub Desktop.
Save jnthn/219169639acd3cb91890 to your computer and use it in GitHub Desktop.
diff --git a/src/core/frame.c b/src/core/frame.c
index 9ea06bc..585dcb4 100644
--- a/src/core/frame.c
+++ b/src/core/frame.c
@@ -92,7 +92,7 @@ MVMFrame * MVM_frame_dec_ref(MVMThreadContext *tc, MVMFrame *frame) {
if (frame->caller)
frame->caller = MVM_frame_dec_ref(tc, frame->caller);
- if (node && MVM_load(&node->ref_count) >= MVMFramePoolLengthLimit) {
+ if (1 || node && MVM_load(&node->ref_count) >= MVMFramePoolLengthLimit) {
/* There's no room on the free list, so destruction.*/
if (frame->env) {
MVM_fixed_size_free(tc, tc->instance->fsa, frame->allocd_env,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment