activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Pechorin <ivan.pecho...@gmail.com>
Subject Re: ActiveMQ CPP question -- crashing in destructor
Date Thu, 22 Sep 2011 09:18:36 GMT
> Just to make sure I am getting things right I do the following in the
> cleanup:
>
>  delete destination;
>  consumer.stop();
>  session.stop();
>  consumer.close();
>  delete consumer;
>  delete session;
>
> Is this the correct order?

Yes, it looks correct.

Mime
View raw message