Permalink
Browse files

Silence finalizer warnings for now.

  • Loading branch information...
brixen committed Jan 8, 2013
1 parent 59ccb25 commit c733100e01a91d3761294c404b3957281b9a05f7
Showing with 4 additions and 2 deletions.
  1. +4 −2 vm/builtin/data.cpp
View
@@ -70,7 +70,8 @@ namespace rubinius {
void Data::finalize(STATE, Data* data) {
if(data->freed_p()) {
- std::cerr << "Data::finalize called for already freed object" << std::endl;
+ // TODO: Fix the issue of finalizer ordering.
+ // std::cerr << "Data::finalize called for already freed object" << std::endl;
return;
}
@@ -97,7 +98,8 @@ namespace rubinius {
Data* data = force_as<Data>(t);
if(data->freed_p()) {
- std::cerr << "Data::Info::mark called for already freed object" << std::endl;
+ // TODO: Fix the issue of finalizer ordering.
+ // std::cerr << "Data::Info::mark called for already freed object" << std::endl;
return;
}

0 comments on commit c733100

Please sign in to comment.