From b6c399944995c33ac199bec28f81a43c0bb52eaa Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 3 Nov 2009 21:08:58 +0000 Subject: QMF fixes: - Added immediate notification of agent deletion - Fixed some issues with memory management between the wrapped client and the ruby wrapper git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@832557 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/bindings/qmf/ruby/qmf.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qpid/cpp/bindings') diff --git a/qpid/cpp/bindings/qmf/ruby/qmf.rb b/qpid/cpp/bindings/qmf/ruby/qmf.rb index 41c2c4a1ee..68a5ae7755 100644 --- a/qpid/cpp/bindings/qmf/ruby/qmf.rb +++ b/qpid/cpp/bindings/qmf/ruby/qmf.rb @@ -456,7 +456,7 @@ module Qmf attr_reader :impl, :agent_key def initialize(impl=nil) if impl - @impl = impl + @impl = Qmfengine::ObjectId.new(impl) else @impl = Qmfengine::ObjectId.new end @@ -594,7 +594,7 @@ module Qmf attr_reader :impl def initialize(kwargs = {}) if kwargs.include?(:impl) - @impl = kwargs[:impl] + @impl = Qmfengine::Query.new(kwargs[:impl]) else package = '' if kwargs.include?(:key) -- cgit v1.2.1