Skip to content

Commit cc27462

Browse files
committed
initial fix: keep monitor alive for a brief time
1 parent 58d17b9 commit cc27462

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/exec/use_pty/monitor.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ pub(super) fn exec_monitor(
168168
// Disable nonblocking assetions as we will not poll the backchannel anymore.
169169
closure.backchannel.set_nonblocking_assertions(false);
170170

171+
std::thread::sleep(std::time::Duration::from_millis(10));
171172
match reason {
172173
StopReason::Break(err) => match err.try_into() {
173174
Ok(msg) => {

0 commit comments

Comments
 (0)