diff options
author | 2009-03-29 11:37:29 -0400 | |
---|---|---|
committer | 2009-03-29 11:37:29 -0400 | |
commit | 843fcc973f4cf7b149d4f57732fb66f812115320 (patch) | |
tree | bae33dd5ebd8393e6dd1b30f7d1a2b75241c9956 /lib/js | |
parent | 9f3c3a0215d3f23c8e51fa4824d21dfeaa08ede0 (diff) |
Redo channels, making them single-client
Diffstat (limited to 'lib/js')
-rw-r--r-- | lib/js/urweb.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js index c7cecbbf..4daee66d 100644 --- a/lib/js/urweb.js +++ b/lib/js/urweb.js @@ -301,6 +301,9 @@ function listener() { } function rv(chn, parse, k) { + if (chn == null) + return; + if (chn < 0) whine("Out-of-bounds channel receive"); |