Author: Remi Meier <[email protected]>
Branch: use-gcc
Changeset: r1948:08c773f2b6ef
Date: 2015-08-27 10:11 +0200
http://bitbucket.org/pypy/stmgc/changeset/08c773f2b6ef/
Log: fix
diff --git a/c8/stm/finalizer.c b/c8/stm/finalizer.c
--- a/c8/stm/finalizer.c
+++ b/c8/stm/finalizer.c
@@ -518,8 +518,9 @@
/* others may add to g_finalizers again: */
__sync_lock_release(&g_finalizers.lock);
- fprintf(stderr, "run_finalizers: %lu\n", list_count(copy.run_finalizers));
- _execute_finalizers(©);
+ if (copy.run_finalizers != NULL) {
+ _execute_finalizers(©);
+ }
_stm_commit_transaction();
stm_rewind_jmp_leaveframe(tl, &rjbuf);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit