diff options
author | bptato <nincsnevem662@gmail.com> | 2022-09-13 20:44:55 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-09-13 20:44:55 +0200 |
commit | 51d83224320b8bd4e81332802bb62158ae6deec5 (patch) | |
tree | 4bfb320d7960f78a68de857f26d43ff2f59bea57 /src/io/loader.nim | |
parent | 51ea622d58bfca19212fac1800cfb033bb85ec39 (diff) | |
download | chawan-51d83224320b8bd4e81332802bb62158ae6deec5.tar.gz |
More JS bindings
Diffstat (limited to 'src/io/loader.nim')
-rw-r--r-- | src/io/loader.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io/loader.nim b/src/io/loader.nim index 7c68258e..1530bf5b 100644 --- a/src/io/loader.nim +++ b/src/io/loader.nim @@ -100,6 +100,7 @@ proc runFileLoader(loader: FileLoader, loadcb: proc()) = quit(0) proc doRequest*(loader: FileLoader, request: Request): Response = + new(result) let stream = connectSocketStream(loader.process) stream.swrite(request) stream.flush() |