Browse Source

drk: Detach from the fun

1000x speedup.
x 7 tháng trước cách đây
mục cha
commit
a61fc4fe33
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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 };
     sink.append(source);
-
-    sink.sleep_until_end();
+    sink.detach();
 }
 
 /// Auxiliary function to generate provided shell completions.