diff --git a/client/web/lrpc.rb b/client/web/lrpc.rb index 6d4ff40..ac4e78b 100644 --- a/client/web/lrpc.rb +++ b/client/web/lrpc.rb @@ -100,7 +100,6 @@ class LRPCChannel # Set self variables @client = client @id = id - @arr = [] # Set function variables to no-ops @onMessage = proc {|fn|} @onClose = proc {} @@ -113,7 +112,6 @@ class LRPCChannel # send sends a value on the channel. This should not # be called by the consumer of the channel. def send(val) - @arr.push(val) fn = @onMessage fn(val) end