1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* cont.c (cont_free): remove mysterious fflush()

introduced at r19890, maybe accidentaly.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2015-07-07 03:08:08 +00:00
parent c5dad98c41
commit 135c75727d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Jul 7 12:05:37 2015 Koichi Sasada <ko1@atdot.net>
* cont.c (cont_free): remove mysterious fflush()
introduced at r19890, maybe accidentaly.
Tue Jul 7 11:45:14 2015 Koichi Sasada <ko1@atdot.net>
* proc.c (rb_method_call): because data->me should be non-NULL,

2
cont.c
View file

@ -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 */