From 63f708e2ef4525e9e38a7d6cb7140910a718cbac Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 21 Jun 2021 22:44:31 +0200 Subject: Fixture display: Shut down REPL connection gracefully at exit This avoids horrible spew on the main thread REPL (leaving only minor spew instead). --- src/repl-connection.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/repl-connection.h') diff --git a/src/repl-connection.h b/src/repl-connection.h index f8b82f6..69f3f0b 100644 --- a/src/repl-connection.h +++ b/src/repl-connection.h @@ -30,5 +30,7 @@ extern ReplConnection *repl_connection_new(const char *socket, void (*process_func)(SCM sexp, void *data), void *data); extern int repl_send(ReplConnection *repl, const char *line); +extern void repl_connection_close(ReplConnection *repl); +extern int repl_closed(ReplConnection *repl); #endif /* REPL_CONNECTION_H */ -- cgit v1.2.3