# At\_exit blocks.at exit?

**URL:** <https://www.ruby-forum.com/t/at-exit-blocks-at-exit/203542>\
**Category:** JRuby\
**Created:** [February 22, 2011, 5:04pm UTC](https://www.ruby-forum.com/t/at-exit-blocks-at-exit/203542 "2011-02-22T17:04:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [February 22, 2011, 5:04pm UTC](https://www.ruby-forum.com/t/at-exit-blocks-at-exit/203542/1 "2011-02-22T17:04:01Z")

</div>

Hello all.  
Should I file a bug report that

at\_exit {  
p ‘hello’  
}

Gets fired early [to me–too ealry] if swing threads are still left  
running?

ref:  
[http://archive.codehaus.org/lists/org.codehaus.jruby.user/msg/removed\_email\_address@domain.invalid](http://archive.codehaus.org/lists/org.codehaus.jruby.user/msg/removed_email_address@domain.invalid)
