Alan Conway created PROTON-1206:
-----------------------------------
Summary: c++ core dump in modified helloworld.cpp example
Key: PROTON-1206
URL: https://issues.apache.org/jira/browse/PROTON-1206
Project: Qpid Proton
Issue Type: Bug
Components: cpp-binding
Affects Versions: 0.12.2
Reporter: Alan Conway
Assignee: Alan Conway
Fix For: 0.13.0
With the following change the helloworld.cpp example core dumps:
{code}
modified examples/cpp/helloworld.cpp
@@ -38,10 +38,6 @@ class hello_world : public proton::messaging_handler {
hello_world(const std::string& u) : url(u) {}
void on_container_start(proton::container& c) OVERRIDE {
- c.connect(url);
- }
-
- void on_connection_open(proton::connection& c) OVERRIDE {
c.open_receiver(url.path());
c.open_sender(url.path());
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]