Browse Source

drk: Detach from the fun

1000x speedup.
x 7 months ago
parent
commit
a61fc4fe33
1 changed files with 1 additions and 2 deletions
  1. 1 2
      bin/drk/src/cli_util.rs

+ 1 - 2
bin/drk/src/cli_util.rs

@@ -135,8 +135,7 @@ pub async fn kaching() {
 
 
     let Ok(source) = Decoder::new(cursor) else { return };
     let Ok(source) = Decoder::new(cursor) else { return };
     sink.append(source);
     sink.append(source);
-
-    sink.sleep_until_end();
+    sink.detach();
 }
 }
 
 
 /// Auxiliary function to generate provided shell completions.
 /// Auxiliary function to generate provided shell completions.