diff --git a/ChangeLog b/ChangeLog index a6dbcc3b7b..fc08a9ebbd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jul 7 12:05:37 2015 Koichi Sasada + + * cont.c (cont_free): remove mysterious fflush() + introduced at r19890, maybe accidentaly. + Tue Jul 7 11:45:14 2015 Koichi Sasada * proc.c (rb_method_call): because data->me should be non-NULL, diff --git a/cont.c b/cont.c index dc412ec46c..2ac2b3d997 100644 --- a/cont.c +++ b/cont.c @@ -226,7 +226,7 @@ cont_free(void *ptr) RUBY_FREE_ENTER("cont"); if (ptr) { rb_context_t *cont = ptr; - RUBY_FREE_UNLESS_NULL(cont->saved_thread.stack); fflush(stdout); + RUBY_FREE_UNLESS_NULL(cont->saved_thread.stack); #if FIBER_USE_NATIVE if (cont->type == CONTINUATION_CONTEXT) { /* cont */