Skip to content

Commit

Permalink
fix: fix problem close connection amqp with connection listener
Browse files Browse the repository at this point in the history
  • Loading branch information
meysamhadeli committed Dec 10, 2023
1 parent d344c38 commit c50c699
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/building-blocks/rabbitmq/rabbitmq-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export class RabbitmqConnection implements OnModuleInit, IRabbitmqConnection {
async closeConnection(): Promise<void> {
try {
if (this.connection) {
await this.closeChanel();
await this.connection.close();
Logger.log('Connection closed successfully');
}
Expand Down

0 comments on commit c50c699

Please sign in to comment.