Skip to content

Commit

Permalink
ref(drop): remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
kkharji committed May 17, 2022
1 parent 7392cfa commit 4debb3b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/daemon/requests/drop.rs
Expand Up @@ -13,9 +13,6 @@ pub struct Drop {
impl Handler for Drop {
async fn handle(self) -> anyhow::Result<()> {
use crate::constants::DAEMON_STATE;

tracing::debug!("{:#?}", self);

let Self {
client,
remove_client,
Expand All @@ -25,7 +22,7 @@ impl Handler for Drop {
let mut state = state.lock().await;

if state.clients.contains_key(&client.pid) {
tracing::info!("Drop({:?})", client.pid);
tracing::info!("Drop({}: {})", client.pid, client.abbrev_root());

// NOTE: Should only be Some if no more client depend on it
if let Some(project) = state.projects.remove(&client).await? {
Expand Down

0 comments on commit 4debb3b

Please sign in to comment.