From 7f56378d069dae0ff885a373e8092e6de0c67a82 Mon Sep 17 00:00:00 2001 From: Philippe PITTOLI Date: Sat, 26 Oct 2019 18:28:17 +0200 Subject: [PATCH] minor fix --- src/ipc/connection.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc/connection.cr b/src/ipc/connection.cr index a583f1b..7e39412 100644 --- a/src/ipc/connection.cr +++ b/src/ipc/connection.cr @@ -137,7 +137,7 @@ class IPC::Connections end end - def wait_event(server : IPC::Connection | Nil, &block) : Tuple(LibIPC::EventType, IPC::Message, IPC::Connection) + def wait_event(server : IPC::Connection | Nil, &block) : Tuple(LibIPC::EventType, IPC::Message, IPC::Connection) | Tuple(LibIPC::EventType, Nil, Nil) event = LibIPC::Event.new serverp = nil