fix: use dereferencing for DbType in event sending
This commit is contained in:
+2
-2
@@ -57,7 +57,7 @@ impl DbType {
|
||||
) -> color_eyre::Result<()> {
|
||||
#[cfg(feature = "tui")]
|
||||
drop(tx.send(Event::App(AppEvent::IpDbTotal(
|
||||
self.clone(),
|
||||
*self,
|
||||
response.content_length(),
|
||||
))));
|
||||
|
||||
@@ -74,7 +74,7 @@ impl DbType {
|
||||
})?;
|
||||
#[cfg(feature = "tui")]
|
||||
drop(tx.send(Event::App(AppEvent::IpDbDownloaded(
|
||||
self.clone(),
|
||||
*self,
|
||||
chunk.len(),
|
||||
))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user