qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject qpid-proton git commit: PROTON-1282: Seg Fault in Ruby Messenger pn_messenger_free
Date Sat, 20 Aug 2016 15:24:22 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master ade77512c -> 9799a6107


PROTON-1282: Seg Fault in Ruby Messenger pn_messenger_free

Add an at_exit to ensure the Messenger is stopped before shutdown.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/9799a610
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/9799a610
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/9799a610

Branch: refs/heads/master
Commit: 9799a610723e993d25497e9f9afadbe8e226f059
Parents: ade7751
Author: Alan Conway <aconway@redhat.com>
Authored: Sat Aug 20 16:21:54 2016 +0100
Committer: Alan Conway <aconway@redhat.com>
Committed: Sat Aug 20 16:21:54 2016 +0100

----------------------------------------------------------------------
 proton-c/bindings/ruby/lib/messenger/messenger.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9799a610/proton-c/bindings/ruby/lib/messenger/messenger.rb
----------------------------------------------------------------------
diff --git a/proton-c/bindings/ruby/lib/messenger/messenger.rb b/proton-c/bindings/ruby/lib/messenger/messenger.rb
index 36bcf74..70a01de 100644
--- a/proton-c/bindings/ruby/lib/messenger/messenger.rb
+++ b/proton-c/bindings/ruby/lib/messenger/messenger.rb
@@ -191,11 +191,11 @@ module Qpid::Proton::Messenger
       end
     end
 
-    # Currently a no-op placeholder.
     # For future compatibility, do not send or recv messages
     # before starting the +Messenger+.
     #
     def start
+      at_exit { stop }
       Cproton.pn_messenger_start(@impl)
     end
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message