Skip to content

Commit 88dd244

Browse files
committed
initial fix: keep monitor alive for a brief time
1 parent 0bd8fa6 commit 88dd244

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
@@ -152,6 +152,7 @@ pub(super) fn exec_monitor(
152152
// Disable nonblocking assetions as we will not poll the backchannel anymore.
153153
closure.backchannel.set_nonblocking_assertions(false);
154154

155+
std::thread::sleep(std::time::Duration::from_millis(10));
155156
match reason {
156157
StopReason::Break(err) => match err.try_into() {
157158
Ok(msg) => {

0 commit comments

Comments
 (0)