postwait / node-amqp

[UNMAINTAINED] node-amqp is an AMQP client for nodejs
MIT License
1.69k stars 357 forks source link

exchange.destroy event exchangeDeleteOk never emitted #265

Open jgato opened 10 years ago

jgato commented 10 years ago

Hi there,

maybe I am making something wrong, but I have the same issue than [https://github.com/postwait/node-amqp/issues/264] and I am not able to capture any event to detect the exchange has been correctly destroyed.

How should I do? Now I am trying:

exchange.destroy().on('exchangeDeleteOk', function(){
    doOK();
});