Hello.
Since
[52, 61] in c:/installs/jruby-1.6.7.2/lib/ruby/gems/1.8/gems/rdp-ruby-wmi-0.3.1/lib/ruby-wmi/base.rb
52 when /Invalid class/i ; raise InvalidClass
53 when /Invalid query/i ; raise InvalidQuery
54
55 end
56 end
=> 57 d.to_a
it appears that when doing a find_all, it converts it into an array, and returns (just) the array, disallowing the user
to call ole_free on the original object. This can cause serious problems in for instance jruby
http://jira.codehaus.org/browse/JRUBY-6220 |