File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
internal/mithril-dmq/src/consumer Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,12 @@ impl<M: TryFromBytes + Debug + Sync + Send> DmqConsumerClient<M> for DmqConsumer
138138 }
139139}
140140
141+ impl < M : TryFromBytes + Debug > Drop for DmqConsumerClientPallas < M > {
142+ fn drop ( & mut self ) {
143+ dbg ! ( "Dropping DMQ consumer client" ) ;
144+ }
145+ }
146+
141147#[ cfg( all( test, unix) ) ]
142148mod tests {
143149
Original file line number Diff line number Diff line change @@ -273,6 +273,12 @@ impl DmqConsumerServer for DmqConsumerServerPallas {
273273 }
274274}
275275
276+ impl Drop for DmqConsumerServerPallas {
277+ fn drop ( & mut self ) {
278+ dbg ! ( "Dropping DMQ consumer server" ) ;
279+ }
280+ }
281+
276282#[ cfg( test) ]
277283mod tests {
278284 use std:: { sync:: Arc , time:: Duration } ;
You can’t perform that action at this time.
0 commit comments