From 7b963433b990f8631f6fbc7093e19caea7893324 Mon Sep 17 00:00:00 2001 From: Karchnu Date: Thu, 2 Jul 2020 21:48:17 +0200 Subject: [PATCH] blah --- src/ipc/connection.cr | 4 ---- src/ipc/lowlevel.cr | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ipc/connection.cr b/src/ipc/connection.cr index 49fadb1..a6d44b0 100644 --- a/src/ipc/connection.cr +++ b/src/ipc/connection.cr @@ -200,10 +200,6 @@ class IPC::Connections ::loop do yield wait_event &block - - when LibIPC::EventType::Disconnection - yield IPC::Event::Disconnection.new connection.not_nil! - end end end diff --git a/src/ipc/lowlevel.cr b/src/ipc/lowlevel.cr index aef0da8..3ab481f 100644 --- a/src/ipc/lowlevel.cr +++ b/src/ipc/lowlevel.cr @@ -112,7 +112,7 @@ lib LibIPC fun ipc_switching_free (switch : Switchings* ) # Void # non public functions - fun ipc_read(Ctx*, index : LibC::UInt, Message*) : IPCError + fun ipc_read(ctx : Ctx*, index : LibC::UInt, message : Message*) : IPCError # for testing purposes fun ipc_switching_print (switch : Switchings*) # Void