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