fix: use dereferencing for DbType in event sending

This commit is contained in:
monosans
2025-08-05 10:41:37 +03:00
parent 279f26a6ea
commit 259ce4e4b0
+2 -2
View File
@@ -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(),
))));
}