Skip to content

Commit 6b62ccb

Browse files
committed
Stop by CTRL+C in "Embedding Sinatra within EventMachine" sample
The present sample does not stop when CTRL+C is pressed because the signal is processed by thin server. Set "signals" option to false to avoid this.
1 parent 7f3b507 commit 6b62ccb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

embed/event-machine.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ def run(opts)
7171
app: dispatch,
7272
server: server,
7373
Host: host,
74-
Port: port
74+
Port: port,
75+
signals: false,
7576
})
7677
end
7778
end

0 commit comments

Comments
 (0)