blah
parent
df269e4423
commit
b5d8c5a6b1
|
@ -2,7 +2,7 @@
|
|||
class IPC::Context
|
||||
property base_timer : Int32 = LibIPC::INFTIM
|
||||
property timer : Int32 = LibIPC::INFTIM
|
||||
getter context : LibIPC::Ctx
|
||||
getter context : LibIPC::Ctx
|
||||
|
||||
def initialize
|
||||
@context = LibIPC::Ctx.new
|
||||
|
@ -142,6 +142,7 @@ class IPC::Context
|
|||
m = String.new r.error_message.to_slice
|
||||
raise Exception.new "cannot correctly close the connection: #{m}"
|
||||
end
|
||||
LibIPC.ipc_ctx_free(self.pointer)
|
||||
@closed = true
|
||||
end
|
||||
|
||||
|
|
Reference in New Issue