Skip to content

Commit 05a8337

Browse files
author
prophet777
committed
bind close event
1 parent 8c9fe7b commit 05a8337

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Consumer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ public function __invoke()
8282
return;
8383
}
8484
}
85+
86+
$this->on('close_amqp_consumer', [$this, 'close']);
8587
}
8688

8789
/**

0 commit comments

Comments
 (0)