Skip to content

Commit 9f3b819

Browse files
committed
initial fix: keep monitor alive for a brief time
1 parent c9d6939 commit 9f3b819

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

167+
std::thread::sleep(std::time::Duration::from_millis(10));
167168
match reason {
168169
StopReason::Break(err) => match err.try_into() {
169170
Ok(msg) => {

0 commit comments

Comments
 (0)