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