Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #15 from dfl/master

hanging-on-exit bug with jruby
  • Loading branch information...
commit 29b4cbf1aa3d424de52d0896bf224d320b9635e2 2 parents d273d2e + f4ed440
@arirusso authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/unimidi/congruous_api_adapter.rb
View
5 lib/unimidi/congruous_api_adapter.rb
@@ -28,7 +28,10 @@ def open(*a, &block)
close
end
else
- self
+ at_exit do
+ close
+ end
+ self
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.