Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vm/internal_threads.cpp
Original file line number Diff line number Diff line change
@@ -121,10 +121,8 @@ namespace rubinius {
if(shutdown_in_progress_) return;
shutdown_in_progress_ = true;

for(std::list<InternalThread*>::reverse_iterator i = threads_.rbegin();
i != threads_.rend();
++i) {
(*i)->stop(state);
while(!threads_.empty()) {
threads_.front()->stop(state);
}

shutdown_in_progress_ = false;

0 comments on commit 70a2a23

Please sign in to comment.