Skip to content

Commit 4e821c3

Browse files
committed
Add comment why we introduce delay
1 parent a2722a4 commit 4e821c3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

dsc/src/util.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ pub fn merge_parameters(file_params: &str, inline_params: &str) -> Result<String
697697
/// * `code` - The exit code to use when exiting the process
698698
pub fn exit(code: i32) -> ! {
699699
// Small delay to ensure async writes complete
700+
// Due to use of indicatif for progress bars, we can't use the tracing crate guard until indicatif adds its own guard
700701
std::thread::sleep(std::time::Duration::from_millis(50));
701702

702703
// Force any pending writes to complete

0 commit comments

Comments
 (0)