Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7dc60f3

Browse files
committed
Allow up to 5 seconds for a pluggable monitor to gracefully close
1 parent 6e6a349 commit 7dc60f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎arduino/monitor/monitor.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ func (mon *PluggableMonitor) Close() error {
292292
if err := mon.sendCommand("CLOSE\n"); err != nil {
293293
return err
294294
}
295-
_, err := mon.waitMessage(time.Millisecond*250, "close")
295+
_, err := mon.waitMessage(time.Millisecond*5000, "close")
296296
return err
297297
}
298298

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /